Add Tauri project files and update .gitignore

This commit is contained in:
2026-02-04 06:59:18 +01:00
parent dc93adf52a
commit 58fafc677e
8 changed files with 137 additions and 2 deletions

View File

@@ -136,8 +136,8 @@ export default function App() {
let unlisten: (() => void) | undefined;
const attach = async () => {
try {
const current = getCurrent();
unlisten = await current.onFileDropEvent((event) => {
const current = getCurrent() as any;
unlisten = await current.onFileDropEvent((event: any) => {
if (event.payload.type === "drop") {
const paths = event.payload.paths ?? [];
if (paths.length) {