diff --git a/build/_icon.icns b/build/_icon.icns new file mode 120000 index 0000000..2459b1b --- /dev/null +++ b/build/_icon.icns @@ -0,0 +1 @@ +../assets/app-icon/mac/app.icns \ No newline at end of file diff --git a/build/_icon.png b/build/_icon.png new file mode 120000 index 0000000..9016379 --- /dev/null +++ b/build/_icon.png @@ -0,0 +1 @@ +../assets/app-icon/png/512.png \ No newline at end of file diff --git a/build/icon.icns b/build/icon.icns deleted file mode 120000 index 2459b1b..0000000 --- a/build/icon.icns +++ /dev/null @@ -1 +0,0 @@ -../assets/app-icon/mac/app.icns \ No newline at end of file diff --git a/build/icon.icns b/build/icon.icns new file mode 100644 index 0000000..f8d4980 Binary files /dev/null and b/build/icon.icns differ diff --git a/build/icon.png b/build/icon.png deleted file mode 120000 index 9016379..0000000 --- a/build/icon.png +++ /dev/null @@ -1 +0,0 @@ -../assets/app-icon/png/512.png \ No newline at end of file diff --git a/build/icon.png b/build/icon.png new file mode 100644 index 0000000..7abee50 Binary files /dev/null and b/build/icon.png differ diff --git a/build/license_en.txt b/build/license_en.txt new file mode 120000 index 0000000..ea5b606 --- /dev/null +++ b/build/license_en.txt @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/main.js b/main.js index 2599cee..f39123b 100644 --- a/main.js +++ b/main.js @@ -6,7 +6,7 @@ const path = require('path') const url = require('url') const spawn = require('child_process').spawn const AutoLaunch = require('auto-launch') -const autoUpdater = require('electron-updater').autoUpdater +require('update-electron-app')() const electron = require('electron') const app = electron.app const Menu = electron.Menu @@ -182,7 +182,6 @@ function createWindow () { } app.once('ready', () => { - autoUpdater.checkForUpdates() createWindow() trayIcon = new Tray(path.resolve( path.normalize( diff --git a/package.json b/package.json index 7fd4e39..41fdd71 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "proxy-socks", - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", "description": "Electron app containing SOCKSv5 server and SSH2 client", "author": { @@ -13,7 +13,6 @@ "scripts": { "start": "yarn install && electron .", "dev": "yarn install && electron . --debug", - "dist": "yarn install && build --linux --mac --win", "release": "yarn install && build --linux --mac --win" }, "build": { @@ -87,10 +86,10 @@ }, "dependencies": { "socksv5": "git://github.com/mscdex/socksv5.git", - "ssh2": "*", + "ssh2": "git://github.com/mscdex/ssh2.git", "string.format": "*", "auto-launch": "*", - "electron-updater": "*" + "update-electron-app": "*" }, "devDependencies": { "electron": "*",