chore(app): cleanup main files
This commit is contained in:
1 parent
5bb89c1b08
commit
d3b367b948
15 files changed
+427
-408
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { relaunch } from "@tauri-apps/api/process";
|
||||
|
||||
export const handleRelaunch = async (_event: unknown, reason?: string) => {
|
||||
if (reason && reason === "backdropClick") {
|
||||
return;
|
||||
}
|
||||
await relaunch();
|
||||
};
|
||||
Reference in new issue
Block a user