mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-04 23:19:09 +08:00
📦 Chore: upgrade electron uuid , change pkg name
This commit is contained in:
@@ -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。
|
||||
|
||||
@@ -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`
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
import { uuid } from 'uuidv4'
|
||||
import { v4 as uuid } from 'uuid'
|
||||
import { trimValues } from '#/utils/common'
|
||||
import picgo from '@core/picgo'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user