Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
fix: change openItem to openPath - close #1158 (#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrocto committed Aug 14, 2021
1 parent c5f1948 commit 27c9c86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ window.openSettings = async () => {
<h6 id="settingsEditorStatus">Loaded values from memory</h6>
<br>`,
buttons: [
{label: "Open in External Editor", action:`electron.shell.openItem('${settingsFile}');electronWin.minimize();`},
{label: "Open in External Editor", action:`electron.shell.openPath('${settingsFile}');electronWin.minimize();`},
{label: "Save to Disk", action: "window.writeSettingsFile()"},
{label: "Reload UI", action: "window.location.reload(true);"},
{label: "Restart eDEX", action: "electron.remote.app.relaunch();electron.remote.app.quit();"}
Expand Down Expand Up @@ -943,7 +943,7 @@ window.openShortcutsHelp = () => {
</details>
<br>`,
buttons: [
{label: "Open Shortcuts File", action:`electron.shell.openItem('${shortcutsFile}');electronWin.minimize();`},
{label: "Open Shortcuts File", action:`electron.shell.openPath('${shortcutsFile}');electronWin.minimize();`},
{label: "Reload UI", action: "window.location.reload(true);"},
]
}, () => {
Expand Down

0 comments on commit 27c9c86

Please sign in to comment.