添加重启应用功能,支持通过触摸事件触发重启

This commit is contained in:
yuchenglong
2025-12-04 13:50:20 +08:00
parent 1e0822c1a0
commit 34e9c58392
4 changed files with 34 additions and 3 deletions

1
src/electron.d.ts vendored
View File

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