mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
23 lines
383 B
TypeScript
23 lines
383 B
TypeScript
import Store from 'electron-store'
|
|
|
|
export interface TypedElectronStore {
|
|
window: {
|
|
width: number
|
|
height: number
|
|
x?: number
|
|
y?: number
|
|
}
|
|
// settings: State['settings']
|
|
}
|
|
|
|
const store = new Store<TypedElectronStore>({
|
|
defaults: {
|
|
window: {
|
|
width: 1440,
|
|
height: 1024,
|
|
},
|
|
// settings: initialState.settings,
|
|
},
|
|
})
|
|
|
|
export default store
|