diff --git a/.env b/.env index e04ccbe..d3b5b5f 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -GH_TOKEN=0f8ce868776fa1af5908d0353cc175663908ff5f \ No newline at end of file +GH_TOKEN=7c1142e2f154c8c678bb762732dbcc2a63df9835 \ No newline at end of file diff --git a/AppVeyor.yml b/AppVeyor.yml deleted file mode 100644 index 37c4718..0000000 --- a/AppVeyor.yml +++ /dev/null @@ -1,29 +0,0 @@ -version: 0.1.{build} - -branches: - only: - - master - -image: Visual Studio 2017 -platform: - - x64 - -cache: - - node_modules - - '%APPDATA%\npm-cache' - - '%USERPROFILE%\.electron' - - '%USERPROFILE%\AppData\Local\Yarn\cache' - -init: - - git config --global core.autocrlf input - -install: - - ps: Install-Product node 8 x64 - - git reset --hard HEAD - - yarn - - node --version - -build_script: - - yarn run release - -test: off diff --git a/package.json b/package.json index e49fb72..3898614 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zy-player", - "version": "0.6.3", + "version": "0.6.4", "private": false, "scripts": { "serve": "vue-cli-service serve", diff --git a/public/app.png b/public/app.png index 21baa13..4b344ba 100644 Binary files a/public/app.png and b/public/app.png differ diff --git a/public/icon.png b/public/icon.png new file mode 100644 index 0000000..4b344ba Binary files /dev/null and b/public/icon.png differ diff --git a/src/background.js b/src/background.js index de4238a..ee77f69 100644 --- a/src/background.js +++ b/src/background.js @@ -1,3 +1,4 @@ +/* global __static */ 'use strict' import { app, protocol, ipcMain, BrowserWindow } from 'electron' @@ -5,6 +6,7 @@ import { createProtocol } from 'vue-cli-plugin-electron-builder/lib' import { autoUpdater } from 'electron-updater' +import path from 'path' const isDevelopment = process.env.NODE_ENV !== 'production' @@ -24,7 +26,8 @@ function createWindow () { webPreferences: { webSecurity: false, nodeIntegration: true - } + }, + icon: path.join(__static, 'icon.png') }) if (process.env.WEBPACK_DEV_SERVER_URL) { diff --git a/src/views/Settings.vue b/src/views/Settings.vue index 46923bf..db9a2bc 100644 --- a/src/views/Settings.vue +++ b/src/views/Settings.vue @@ -10,7 +10,7 @@