2.2.1 Official Version
This commit is contained in:
parent
152e4f8995
commit
5d601785fd
@ -24,5 +24,5 @@
|
||||
"electron": "^24.1.2",
|
||||
"electron-packager": "^17.1.1"
|
||||
},
|
||||
"dev": false
|
||||
"dev": true
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
const log = require("./sub-log")
|
||||
const settings = require("./settings.json")
|
||||
const { BrowserWindow, app, ipcMain } = require("electron")
|
||||
const https = require('https');
|
||||
const fs = require('fs');
|
||||
@ -8,6 +7,15 @@ const BWin = BrowserWindow
|
||||
const path = require("path")
|
||||
const decompress = require('decompress');
|
||||
|
||||
var settings = {}
|
||||
settings.canaldev = null
|
||||
|
||||
if(fs.existsSync(__dirname + path.sep + "settings.json")){
|
||||
|
||||
settings = fs.readFileSync(__dirname + path.sep + "settings.json")
|
||||
}
|
||||
|
||||
|
||||
|
||||
module.exports.checkUpdate = () => {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user