mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 03:47:01 -04:00
make Open Themes/Settings folder properly open the folder
This commit is contained in:
parent
2a398985cf
commit
78d3330ccf
6 changed files with 18 additions and 10 deletions
|
@ -48,6 +48,8 @@ window.VencordNative = {
|
|||
),
|
||||
getThemeData: (fileName: string) => DataStore.get(fileName, themeStore),
|
||||
getSystemValues: async () => ({}),
|
||||
|
||||
openFolder: async () => Promise.reject("themes:openFolder is not supported on web"),
|
||||
},
|
||||
|
||||
native: {
|
||||
|
@ -111,7 +113,8 @@ window.VencordNative = {
|
|||
}
|
||||
},
|
||||
set: async (s: Settings) => localStorage.setItem("VencordSettings", JSON.stringify(s)),
|
||||
getSettingsDir: async () => "LocalStorage"
|
||||
getSettingsDir: async () => "LocalStorage",
|
||||
openFolder: async () => Promise.reject("settings:openFolder is not supported on web"),
|
||||
},
|
||||
|
||||
pluginHelpers: {} as any,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue