Compare commits

...

3 Commits

Author SHA1 Message Date
hunlongyu
9012be09ad 🚚 修复最大资源网翻页 Bug 2020-05-07 23:37:10 +08:00
hunlongyu
bd85987e72 🛴 只能启动一个实例 2020-05-07 23:17:37 +08:00
hunlongyu
5c28cf19ed 🧶 替换旧的 Logo 2020-05-07 23:14:21 +08:00
5 changed files with 23 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
<p align="center">
<img src="https://i.loli.net/2020/02/22/jvfBbnEuOq5RS9J.png" >
<img src="https://i.loli.net/2020/05/07/9kLvPnWVCp7538c.png" >
</p>
<p align="center">
<img src="https://forthebadge.com/images/badges/built-with-love.svg">

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -114,12 +114,26 @@ ipcMain.on('miniOpacity', (e, arg) => {
mini.setOpacity(arg)
})
app.on('ready', async () => {
if (!process.env.WEBPACK_DEV_SERVER_URL) {
createProtocol('app')
}
createWindow()
})
const gotTheLock = app.requestSingleInstanceLock()
if (!gotTheLock) {
app.quit()
} else {
app.on('second-instance', (event, commandLine, workingDirectory) => {
// 当运行第二个实例时,将会聚焦到win这个窗口
if (win) {
if (win.isMinimized()) win.restore()
win.focus()
}
})
// 创建 win, 加载应用的其余部分, etc...
app.on('ready', () => {
if (!process.env.WEBPACK_DEV_SERVER_URL) {
createProtocol('app')
}
createWindow()
})
}
// Exit cleanly on request from parent process in development mode.
if (isDevelopment) {

View File

@@ -4,7 +4,7 @@ const sites = [
name: '最大资源网',
url: 'http://www.zuidazy5.com',
new: 'http://www.zuidazy5.com/?m=vod-index-pg-{page}.html',
view: 'http://www.zuidazy5.com/?m=vod-type-id-{id}-page-{page}.html',
view: 'http://www.zuidazy5.com/?m=vod-type-id-{id}-pg-{page}.html',
search: 'http://www.zuidazy5.com/index.php?m=vod-search-pg-{page}-wd-{keywords}.html',
type: 0,
tags: [