mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-02-14 07:55:27 +08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e2bc39bde | ||
|
|
551d11c802 | ||
|
|
c4d8662b51 | ||
|
|
dea6306acb | ||
|
|
420bf12c79 | ||
|
|
9b1995e596 | ||
|
|
b89b56cce4 |
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -21,19 +21,7 @@ jobs:
|
||||
|
||||
- run: |
|
||||
yarn
|
||||
yarn electron:build
|
||||
yarn release
|
||||
shell: pwsh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
dist_electron/*.exe
|
||||
dist_electron/win-unpacked/*.exe
|
||||
dist_electron/*.dmg
|
||||
dist_electron/*.snap
|
||||
dist_electron/*.yml
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
12
package.json
12
package.json
@@ -1,7 +1,12 @@
|
||||
{
|
||||
"name": "zyplayer",
|
||||
"version": "0.9.18",
|
||||
"name": "zy",
|
||||
"version": "0.9.24",
|
||||
"private": true,
|
||||
"author": {
|
||||
"name": "Hunlongyu",
|
||||
"email": "hunlongyu@gmail.com"
|
||||
},
|
||||
"description": "ZY Player 资源播放器",
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
@@ -9,7 +14,8 @@
|
||||
"electron:build": "vue-cli-service electron:build",
|
||||
"dev": "vue-cli-service electron:serve",
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"postuninstall": "electron-builder install-app-deps"
|
||||
"postuninstall": "electron-builder install-app-deps",
|
||||
"release": "vue-cli-service electron:build -p always"
|
||||
},
|
||||
"main": "background.js",
|
||||
"dependencies": {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="logo"><img src="@/assets/image/logo.png"></div>
|
||||
<div class="info">
|
||||
<a @click="linkOpen('https://github.com/Hunlongyu/ZY-Player')">{{$t('website')}}</a>
|
||||
<a @click="linkOpen('https://github.com/Hunlongyu/ZY-Player/issues')">{{$t('issues')}}</a>
|
||||
<a @click="linkOpen('https://github.com/Hunlongyu/ZY-Player/issues')">{{$t('issues')}} v{{pkg.version}}</a>
|
||||
</div>
|
||||
<div class="change">
|
||||
<div class="zy-select" @mouseleave="show.language = false">
|
||||
@@ -63,10 +63,12 @@ import setting from '../lib/dexie/setting'
|
||||
import { sites } from '../lib/site/sites'
|
||||
import '../lib/cloud/index.js'
|
||||
import { shell } from 'electron'
|
||||
import pkg from '../../package.json'
|
||||
export default {
|
||||
name: 'setting',
|
||||
data () {
|
||||
return {
|
||||
pkg: pkg,
|
||||
s: {},
|
||||
languages: [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import Dexie from 'dexie'
|
||||
|
||||
const db = new Dexie('ZYDB')
|
||||
const db = new Dexie('zy')
|
||||
|
||||
db.version(1).stores({
|
||||
theme: '++id, theme',
|
||||
|
||||
@@ -11,7 +11,34 @@ module.exports = {
|
||||
oneClick: false,
|
||||
allowToChangeInstallationDirectory: true
|
||||
},
|
||||
productName: 'ZY Player 内测版'
|
||||
appId: 'com.hunlongyu.zy',
|
||||
copyright: 'Copyright @ 2020 Hunlongyu',
|
||||
productName: 'ZY Player 内测版',
|
||||
publish: [
|
||||
{
|
||||
provider: 'github',
|
||||
owner: 'Hunlongyu',
|
||||
repo: 'ZY-Player'
|
||||
}
|
||||
],
|
||||
mac: {
|
||||
icon: 'build/icon/icon.icns',
|
||||
category: 'public.app-category.developer-tools',
|
||||
target: 'default',
|
||||
extendInfo: {
|
||||
LSUIElement: 1
|
||||
}
|
||||
},
|
||||
win: {
|
||||
icon: 'build/icons/icon.ico',
|
||||
target: 'nsis'
|
||||
},
|
||||
linux: {
|
||||
icon: 'build/icons/'
|
||||
},
|
||||
snap: {
|
||||
publish: ['github']
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user