Skip to content

Commit

Permalink
fix(pack-manager): backupCustomIcons() no longer opens backup zip whe…
Browse files Browse the repository at this point in the history
…n finished
  • Loading branch information
aidenlx committed Nov 17, 2021
1 parent fde5b7f commit b0afde7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/icon-packs/pack-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ export default class PackManager extends Events {
await zip.generateAsync({ type: "arraybuffer" }),
);
if (Platform.isDesktopApp) {
this.plugin.app.openWithDefaultApp(bakFilePath);
// open vault dir in explorer
this.plugin.app.openWithDefaultApp("");
} else {
new Notice(
`icons have been saved to ${bakFilePath}, ` +
Expand Down

0 comments on commit b0afde7

Please sign in to comment.