|
|
@@ -109,10 +109,12 @@ module.exports = (appInfo) => {
|
|
|
/**
|
|
|
* 主进程
|
|
|
*/
|
|
|
+/*
|
|
|
config.mainServer = {
|
|
|
protocol: "file://",
|
|
|
indexPath: "/public/dist/index.html",
|
|
|
};
|
|
|
+*/
|
|
|
|
|
|
/**
|
|
|
* 硬件加速
|
|
|
@@ -160,7 +162,7 @@ module.exports = (appInfo) => {
|
|
|
},
|
|
|
tray: {
|
|
|
enable: true,
|
|
|
- title: "EE程序",
|
|
|
+ title: "图扣扣",
|
|
|
icon: "/public/images/tray.png",
|
|
|
},
|
|
|
security: {
|
|
|
@@ -173,14 +175,14 @@ module.exports = (appInfo) => {
|
|
|
},
|
|
|
autoUpdater: {
|
|
|
enable: true,
|
|
|
- windows: false,
|
|
|
+ windows: true,
|
|
|
macOS: false,
|
|
|
- linux: false,
|
|
|
+ linux: true,
|
|
|
options: {
|
|
|
provider: "generic",
|
|
|
- url: "http://kodo.qiniu.com/",
|
|
|
+ url: "https://ossimg.valimart.net/tkk/",
|
|
|
},
|
|
|
- force: false,
|
|
|
+ force: true,
|
|
|
},
|
|
|
};
|
|
|
|