mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 14:48:13 -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') {
|
||||
createTray()
|
||||
}
|
||||
if (process.platform === 'win32' || process.platform === 'linux') {
|
||||
createTray()
|
||||
}
|
||||
db.set('needReload', false)
|
||||
const isHideDock = db.get('settings.isHideDock') || false
|
||||
if (isHideDock) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { IPasteStyle } from '#/types/enum'
|
||||
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 fileName = item.fileName!.replace(new RegExp(`\\${item.extname}$`), '')
|
||||
|
@ -695,4 +695,5 @@ onBeforeUnmount(async () => {
|
||||
<style lang='stylus'>
|
||||
#manage-setting
|
||||
height 100%
|
||||
overflow-y auto
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user