mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 15:13:45 +08:00
Add: Refresh webapp
This commit is contained in:
@@ -48,6 +48,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons-vue": "^6.0.1",
|
"@ant-design/icons-vue": "^6.0.1",
|
||||||
|
"electron-updater": "4.6.0",
|
||||||
"python-shell": "^3.0.0",
|
"python-shell": "^3.0.0",
|
||||||
"tree-kill": "^1.2.2",
|
"tree-kill": "^1.2.2",
|
||||||
"vue": "3.2.19",
|
"vue": "3.2.19",
|
||||||
|
|||||||
@@ -77,6 +77,13 @@ const createWindow = async () => {
|
|||||||
mainWindow?.webContents.openDevTools()
|
mainWindow?.webContents.openDevTools()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
// Refresh
|
||||||
|
globalShortcut.register('Ctrl+R', function () {
|
||||||
|
mainWindow?.reload()
|
||||||
|
});
|
||||||
|
globalShortcut.register('Ctrl+Shift+R', function () {
|
||||||
|
mainWindow?.reload()
|
||||||
|
});
|
||||||
|
|
||||||
// Minimize, maximize, close window.
|
// Minimize, maximize, close window.
|
||||||
ipcMain.on('window-min', function () {
|
ipcMain.on('window-min', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user