diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 473f63e..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "name": "Debug Main Process", - "type": "node", - "request": "launch", - "cwd": "${workspaceRoot}", - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron", - "windows": { - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd" - }, - "args": ["."] - } - ] -} diff --git a/icons/128x128.png b/icons/128x128.png index 2c4f709..46b31a0 100644 Binary files a/icons/128x128.png and b/icons/128x128.png differ diff --git a/icons/256x256.png b/icons/256x256.png index 8a36859..46b31a0 100644 Binary files a/icons/256x256.png and b/icons/256x256.png differ diff --git a/icons/512x512.png b/icons/512x512.png index c30bb35..46b31a0 100644 Binary files a/icons/512x512.png and b/icons/512x512.png differ diff --git a/icons/dns-host.svg b/icons/dns-host.svg index 94cc811..63e3a5a 100644 --- a/icons/dns-host.svg +++ b/icons/dns-host.svg @@ -1,36 +1,21 @@ - - - - - - - - - - - + + + + + + + \ No newline at end of file diff --git a/package.json b/package.json index f025d2f..358bd5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "dns-host", - "version": "1.2.2", + "name": "hosts-switch", + "version": "2.0.0", "description": "Hosts切换器", "main": "src/main.js", "scripts": { diff --git a/src/images/app.png b/src/images/app.png index fabef8b..46b31a0 100644 Binary files a/src/images/app.png and b/src/images/app.png differ diff --git a/src/main.js b/src/main.js index 5f3fe32..96a625a 100644 --- a/src/main.js +++ b/src/main.js @@ -90,7 +90,7 @@ app.once('ready', () => { win = null }) - win.openDevTools() + // win.openDevTools() // 然后加载应用的 index.html win.loadURL('app://local/index.html')