mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 19:54:07 +03:00
25 lines
563 B
HTML
25 lines
563 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>File Associations</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>File Associations</h1>
|
|
<div id="files"></div>
|
|
|
|
<script>
|
|
const d = document.getElementById('files')
|
|
d.textContent = window.openedUrls
|
|
|
|
window.onFileOpen = (files) => {
|
|
console.log(files)
|
|
d.textContent = files
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|