|
@@ -46,8 +46,8 @@ const getCheckForUpdates = async () => {
|
|
|
//platform:arm64 x64,arch:darwin win32
|
|
|
console.log('当前版本:', config.version)
|
|
|
console.log('platform-arch:', window.api.platform, window.api.arch)
|
|
|
- //const http = 'https://archives.hczcxx.cn'
|
|
|
- const http = 'http://192.168.0.109:5175'
|
|
|
+ const http = 'https://archives.hczcxx.cn'
|
|
|
+ //const http = 'http://192.168.0.109:5175'
|
|
|
const url = `${http}/local-app.json?time=${new Date().getTime()}`
|
|
|
const { code, data } = await window.electron.ipcRenderer.invoke('require', { url: url })
|
|
|
if (code !== 200) return
|