Compare commits

...

10 Commits
x86 ... v1.0.18

Author SHA1 Message Date
hunlongyu
4c8fa08166 🙄 解决 Mac 下 dock 栏不显示图标问题 2020-06-05 11:09:52 +08:00
hunlongyu
ac513fbce6 🙄 解决 Mac 下 dock 栏不显示图标问题 2020-06-05 11:09:19 +08:00
hunlongyu
9321d3a5d9 Merge branch 'master' of https://github.com/Hunlongyu/ZY-Player 2020-06-05 10:26:41 +08:00
hunlongyu
0f2776fb1c 😁 移除测试代码 2020-06-05 10:26:37 +08:00
Hunlongyu
b577ce12c1 Merge pull request #77 from zhangweiii/master
修复Mac下dock栏不显示图标
2020-06-05 10:25:16 +08:00
zhangweiii
fa4c4e22fd 修复Mac下dock栏不显示图标 2020-06-04 10:53:02 +08:00
hunlongyu
a93d4042ba 🎢 修复 Mac 电脑无法完全退出的BUG 2020-06-02 10:54:17 +08:00
hunlongyu
09bd9d8401 😊 成功测试打包32位安装包 2020-06-01 18:14:31 +08:00
hunlongyu
588e52c330 😌 尝试v1 2020-06-01 17:00:58 +08:00
hunlongyu
6c4e110bb8 😫 再次尝试x86 2020-06-01 16:59:38 +08:00
5 changed files with 20 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ name: release-build
on:
push:
tags:
- x86
- x86 *
jobs:
release:
@@ -25,3 +25,11 @@ jobs:
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: dist_electron
path: dist_electron/*.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -60,6 +60,8 @@
2. [蓝奏云 -- 快速下载(老版本)](https://www.lanzous.com/b04s6a3re) 密码:95px
3. 适用于32位操作系统的x86软件,在蓝奏云网盘里, 后缀名: ZY Player * 32位.exe
#### 截图:
1. 浏览 ⇣ ↓
![01浏览.png](https://i.loli.net/2020/05/18/MshDLnXq2CTpoBy.png)

View File

@@ -1,6 +1,6 @@
{
"name": "zy",
"version": "1.0.16",
"version": "1.0.18",
"private": true,
"author": {
"name": "Hunlongyu",

View File

@@ -16,7 +16,7 @@ let mini
// Scheme must be registered before the app is ready
protocol.registerSchemesAsPrivileged([{ scheme: 'app', privileges: { secure: true, standard: true } }])
function createWindow () {
function createWindow() {
win = new BrowserWindow({
width: 1080,
height: 720,
@@ -44,7 +44,7 @@ function createWindow () {
})
}
function createMini () {
function createMini() {
mini = new BrowserWindow({
width: 550,
minWidth: 260,
@@ -74,6 +74,10 @@ function createMini () {
})
}
if (process.platform === 'darwin') {
app.dock.show()
}
app.allowRendererProcessReuse = true
app.commandLine.appendSwitch('disable-features', 'OutOfBlinkCors')
if (process.platform === 'Linux') {
@@ -81,9 +85,7 @@ if (process.platform === 'Linux') {
}
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit()
}
app.quit()
})
app.on('activate', () => {

View File

@@ -32,7 +32,7 @@ export default {
name: '',
png: ''
},
value: 'https://www.baidu.com',
value: '',
loading: true
}
},