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

fix: change openItem to openPath - close #1158 #1159

Merged
merged 1 commit into from
Aug 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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