mirror of
https://github.com/WowUp/WowUp.git
synced 2026-06-20 03:29:05 -04:00
Bring Show Folder to front
This commit is contained in:
@@ -341,7 +341,11 @@ export class MyAddonsComponent implements OnInit, OnDestroy {
|
||||
public onShowfolder(addon: Addon) {
|
||||
try {
|
||||
const addonPath = this.addonService.getFullInstallPath(addon);
|
||||
this.electronService.shell.openExternal(addonPath);
|
||||
this.electronService.shell.openExternal(
|
||||
addonPath,
|
||||
//open issue on Electron causing activate false to set to foreground instead of background
|
||||
this.electronService.isMac ? { activate: true } : { activate: false }
|
||||
);
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user