openItem => openPath

This commit is contained in:
Sean Yesmunt 2020-10-16 10:49:01 -04:00
parent b3f1b7919c
commit 3bb5c06f44
2 changed files with 3 additions and 2 deletions

View file

@ -1453,5 +1453,6 @@
"lbry.com": "lbry.com",
"lbry.tech": "lbry.tech",
"GitHub": "GitHub",
"This link leads to an external website.": "This link leads to an external website.",
"--end--": "--end--"
}

View file

@ -23,11 +23,11 @@ function ModalOpenExternalResource(props: Props) {
function openResource() {
// @if TARGET='app'
const { openExternal, openItem, showItemInFolder } = shell;
const { openExternal, openPath, showItemInFolder } = shell;
if (uri) {
openExternal(uri);
} else if (path) {
const success = openItem(path);
const success = openPath(path);
if (!success) {
showItemInFolder(path);
}