34 lines
714 B
TypeScript
34 lines
714 B
TypeScript
// import defaultSetting from '@common/defaultSetting'
|
|
import createWorkers from '@renderer/worker'
|
|
|
|
window.lx = {
|
|
// appSetting: defaultSetting,
|
|
isEditingHotKey: false,
|
|
isPlayedStop: false,
|
|
appHotKeyConfig: {
|
|
local: {
|
|
enable: false,
|
|
keys: {},
|
|
},
|
|
global: {
|
|
enable: false,
|
|
keys: {},
|
|
},
|
|
},
|
|
songListInfo: {
|
|
fromName: '',
|
|
searchKey: '',
|
|
searchPosition: 0,
|
|
songlistKey: '',
|
|
songlistPosition: 0,
|
|
},
|
|
restorePlayInfo: null,
|
|
worker: createWorkers(),
|
|
isProd: process.env.NODE_ENV == 'production',
|
|
rootOffset: window.dt ? 0 : 8,
|
|
}
|
|
|
|
window.lxData = {}
|
|
|
|
window.ELECTRON_DISABLE_SECURITY_WARNINGS = process.env.ELECTRON_DISABLE_SECURITY_WARNINGS
|