mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 18:37:04 -04:00
VencordDesktop: Include web plugins & use proper showItemInFolder
This commit is contained in:
parent
d8a5e43034
commit
676bc612d9
9 changed files with 21 additions and 13 deletions
|
@ -22,3 +22,10 @@ export function relaunch() {
|
|||
else
|
||||
window.VencordDesktop.app.relaunch();
|
||||
}
|
||||
|
||||
export function showItemInFolder(path: string) {
|
||||
if (IS_DISCORD_DESKTOP)
|
||||
window.DiscordNative.fileManager.showItemInFolder(path);
|
||||
else
|
||||
window.VencordDesktop.fileManager.showItemInFolder(path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue