mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 22:58:14 -05:00
🐛 Fix: fix some bugs
This commit is contained in:
parent
8c7c3b28dd
commit
7e0991d36d
@ -158,6 +158,9 @@ class LifeCycle {
|
|||||||
if (startMode !== 'no-tray' && process.platform === 'darwin') {
|
if (startMode !== 'no-tray' && process.platform === 'darwin') {
|
||||||
createTray()
|
createTray()
|
||||||
}
|
}
|
||||||
|
if (process.platform === 'win32' || process.platform === 'linux') {
|
||||||
|
createTray()
|
||||||
|
}
|
||||||
db.set('needReload', false)
|
db.set('needReload', false)
|
||||||
const isHideDock = db.get('settings.isHideDock') || false
|
const isHideDock = db.get('settings.isHideDock') || false
|
||||||
if (isHideDock) {
|
if (isHideDock) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { IPasteStyle } from '#/types/enum'
|
import { IPasteStyle } from '#/types/enum'
|
||||||
import { handleUrlEncode } from '#/utils/common'
|
import { handleUrlEncode } from '#/utils/common'
|
||||||
import db from 'apis/core/datastore'
|
import db from '~/main/apis/core/datastore'
|
||||||
|
|
||||||
const formatCustomLink = (customLink: string, item: ImgInfo) => {
|
const formatCustomLink = (customLink: string, item: ImgInfo) => {
|
||||||
const fileName = item.fileName!.replace(new RegExp(`\\${item.extname}$`), '')
|
const fileName = item.fileName!.replace(new RegExp(`\\${item.extname}$`), '')
|
||||||
|
@ -695,4 +695,5 @@ onBeforeUnmount(async () => {
|
|||||||
<style lang='stylus'>
|
<style lang='stylus'>
|
||||||
#manage-setting
|
#manage-setting
|
||||||
height 100%
|
height 100%
|
||||||
|
overflow-y auto
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user