mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-05 07:41:58 +08:00
🐛 Fix: fix some bugs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user