Skip to content

Commit 29dbcfd

Browse files
xVanTuringxVanTuring
authored andcommitted
restore copy http proxy option in tray
hide windows if configured
1 parent 33b388d commit 29dbcfd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron-ssr",
3-
"version": "0.3.0-alpha.3",
3+
"version": "0.3.0-alpha.4",
44
"description": "Cross platform ShadowsocksR GUI client built with electron",
55
"author": {
66
"name": "The Electron-SSR Authors",

src/main/tray.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ async function generateMenus (appConfig) {
7272
handler.toggleProxy(appConfig.sysProxyMode)
7373
}
7474
},
75+
{ label: $t('MENU_SUB_COPY_HTTP_PROXY'), click: handler.copyHttpProxyCode },
7576
{
7677
label: $t('MENU_PAC'),
7778
submenu: [

src/main/window.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import logger from './logger'
44
import {
55
createProtocol
66
} from 'vue-cli-plugin-electron-builder/lib'
7-
import { isLinux } from '@/shared/env'
87

98
let mainWindow
109
let readyPromise
@@ -19,7 +18,7 @@ export function createWindow () {
1918
resizable: false,
2019
minimizable: false,
2120
maximizable: false,
22-
show: isLinux,
21+
show: false,
2322
webPreferences: { webSecurity: process.env.NODE_ENV === 'production', nodeIntegration: true }
2423
})
2524
if (process.platform === 'darwin') { app.dock.show() }

0 commit comments

Comments
 (0)