添加重启应用功能,支持通过触摸事件触发重启
This commit is contained in:
1
src/electron.d.ts
vendored
1
src/electron.d.ts
vendored
@@ -27,6 +27,7 @@ interface ElectronAPI {
|
||||
onIdCardError: (callback: (error: any) => void) => void;
|
||||
log: (level: string, message: any) => void;
|
||||
removeIdCardListeners: () => void;
|
||||
restartApp: () => void;
|
||||
}
|
||||
|
||||
interface Window {
|
||||
|
||||
Reference in New Issue
Block a user