make Open Themes/Settings folder properly open the folder

This commit is contained in:
Vendicated 2025-06-14 18:51:40 +02:00
parent 2a398985cf
commit 78d3330ccf
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
6 changed files with 18 additions and 10 deletions

View file

@ -38,6 +38,8 @@ export default {
getThemesList: () => invoke<Array<UserThemeHeader>>(IpcEvents.GET_THEMES_LIST),
getThemeData: (fileName: string) => invoke<string | undefined>(IpcEvents.GET_THEME_DATA, fileName),
getSystemValues: () => invoke<Record<string, string>>(IpcEvents.GET_THEME_SYSTEM_VALUES),
openFolder: () => invoke<void>(IpcEvents.OPEN_THEMES_FOLDER),
},
updater: {
@ -51,6 +53,8 @@ export default {
get: () => sendSync<Settings>(IpcEvents.GET_SETTINGS),
set: (settings: Settings, pathToNotify?: string) => invoke<void>(IpcEvents.SET_SETTINGS, settings, pathToNotify),
getSettingsDir: () => invoke<string>(IpcEvents.GET_SETTINGS_DIR),
openFolder: () => invoke<void>(IpcEvents.OPEN_SETTINGS_FOLDER),
},
quickCss: {