feat: 修改更新检查功能

This commit is contained in:
alger
2025-01-01 15:05:49 +08:00
parent 1ddbe6f24e
commit 8dab799939
2 changed files with 37 additions and 1 deletions

View File

@@ -200,5 +200,10 @@ ipcMain.on('get-store-value', (_, key) => {
_.returnValue = value || '';
});
// 添加 IPC 处理程序
ipcMain.on('get-arch', (event) => {
event.returnValue = process.arch;
});
// In this file you can include the rest of your app"s specific main process
// code. You can also put them in separate files and require them here.