添加应用退出功能,支持通过长按触摸事件触发退出

This commit is contained in:
yuchenglong
2025-12-05 16:36:56 +08:00
parent 2bea4b2025
commit 4725950933
4 changed files with 12 additions and 1 deletions

1
src/electron.d.ts vendored
View File

@@ -28,6 +28,7 @@ interface ElectronAPI {
log: (level: string, message: any) => void;
removeIdCardListeners: () => void;
restartApp: () => void;
quitApp: () => void;
}
interface Window {