📦 Chore: upgrade electron uuid , change pkg name

This commit is contained in:
萌萌哒赫萝
2023-01-16 23:27:33 +08:00
parent b9a75d853a
commit 7421322475
28 changed files with 289 additions and 115 deletions
+5 -2
View File
@@ -3,11 +3,14 @@
## core
The lowest level APIs that are not dependent on each other. The upper APIs depend on them.
不相互依赖的最低级别api。 上层api依赖于它们。
## app
Provide key API interfaces for PicGo application, including uploader, window management, shortcut key system, remotes handler, etc
Provide key API interfaces for PicList application, including uploader, window management, shortcut key system, remotes handler, etc
为PicList应用程序提供关键API接口,包括上传器、窗口管理、快捷键系统、远程处理程序等。
## gui
GuiApi for PicGo plugins.
GuiApi for PicList plugins.
用于PicList插件的GuiApi。
+6 -6
View File
@@ -31,9 +31,9 @@ export function createContextMenu () {
label: T('ABOUT'),
click () {
dialog.showMessageBox({
title: 'PicGo',
message: 'PicGo',
detail: `Version: ${pkg.version}\nAuthor: Molunerfinn\nGithub: https://github.com/Molunerfinn/PicGo`
title: 'PicList',
message: 'PicList',
detail: `Version: ${pkg.version}\nAuthor: Kuingsmile\nGithub: https://github.com/Kuingsmile/PicList`
})
}
},
@@ -117,10 +117,10 @@ export function createContextMenu () {
label: T('ABOUT'),
click () {
dialog.showMessageBox({
title: 'PicGo',
message: 'PicGo',
title: 'PicList',
message: 'PicList',
buttons: ['Ok'],
detail: `Version: ${pkg.version}\nAuthor: Molunerfinn\nGithub: https://github.com/Molunerfinn/PicGo`
detail: `Version: ${pkg.version}\nAuthor: Kuingsmile\nGithub: https://github.com/Kuingsmile/PicList`
})
}
},
+5 -5
View File
@@ -60,14 +60,14 @@ windowList.set(IWindowList.SETTING_WINDOW, {
multiple: false,
options () {
const options: IBrowserWindowOptions = {
height: 450,
width: 800,
height: 800,
width: 1200,
show: false,
frame: true,
center: true,
fullscreenable: false,
resizable: false,
title: 'PicGo',
fullscreenable: true,
resizable: true,
title: 'PicList',
vibrancy: 'ultra-dark',
transparent: true,
titleBarStyle: 'hidden',
+4 -4
View File
@@ -77,14 +77,14 @@ const buildMainPageMenu = (win: BrowserWindow) => {
label: T('ABOUT'),
click () {
dialog.showMessageBox({
title: 'PicGo',
message: 'PicGo',
detail: `Version: ${pkg.version}\nAuthor: Molunerfinn\nGithub: https://github.com/Molunerfinn/PicGo`
title: 'PicList',
message: 'PicList',
detail: `Version: ${pkg.version}\nAuthor: Kuingsmile\nGithub: https://github.com/Kuingsmile/PicList`
})
}
},
{
label: T('SPONSOR_PICGO'),
label: T('SPONSOR_PICLIST'),
click () {
win?.webContents?.send(SHOW_MAIN_PAGE_DONATION)
}
+1 -1
View File
@@ -1,4 +1,4 @@
import { uuid } from 'uuidv4'
import { v4 as uuid } from 'uuid'
import { trimValues } from '#/utils/common'
import picgo from '@core/picgo'