This commit is contained in:
hunlongyu
2020-01-10 16:08:32 +08:00
parent d48f877db5
commit 6fa2c1f1cc
7 changed files with 7 additions and 33 deletions

2
.env
View File

@@ -1 +1 @@
GH_TOKEN=0f8ce868776fa1af5908d0353cc175663908ff5f
GH_TOKEN=7c1142e2f154c8c678bb762732dbcc2a63df9835

View File

@@ -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

View File

@@ -1,6 +1,6 @@
{
"name": "zy-player",
"version": "0.6.3",
"version": "0.6.4",
"private": false,
"scripts": {
"serve": "vue-cli-service serve",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

BIN
public/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -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) {

View File

@@ -10,7 +10,7 @@
</div>
<div class="item upgrade">
<div class="title">更新:</div>
<div class="btns">版本: v0.6.3</div>
<div class="btns">版本: v0.6.4</div>
<div class="btns"><Button @click="checkUpgrade">检查更新</Button></div>
</div>
<div class="item theme">