|
|
|
@ -368,6 +368,7 @@ class FSPluginClient extends ElectronBasePluginClient { |
|
|
|
|
if (!path) { |
|
|
|
|
dirs = dialog.showOpenDialogSync(this.window, { |
|
|
|
|
properties: ['openDirectory', 'createDirectory', 'showHiddenFiles'], |
|
|
|
|
title: 'Open folder', |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
path = dirs && dirs.length && dirs[0] ? dirs[0] : path |
|
|
|
@ -383,6 +384,7 @@ class FSPluginClient extends ElectronBasePluginClient { |
|
|
|
|
if (!path) { |
|
|
|
|
dirs = dialog.showOpenDialogSync(this.window, { |
|
|
|
|
properties: ['openDirectory', 'createDirectory', 'showHiddenFiles'], |
|
|
|
|
title: 'Open folder', |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
path = dirs && dirs.length && dirs[0] ? dirs[0] : path |
|
|
|
|