Skip to content

Commit 4377dc4

Browse files
committed
chore: release geb
1 parent 0bdb903 commit 4377dc4

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

dist/virtualfs-debug.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18897,7 +18897,7 @@ let $f1a90a4a391136ce$var$preferNodeWs = false, $f1a90a4a391136ce$var$forceNodeW
1889718897
options = options || {
1889818898
multiple: false
1889918899
};
18900-
if (!options.defaultPath) options.defaultPath = await globalObject.electronAPI.getDocumentsDir();
18900+
if (!options.defaultPath) options.defaultPath = await globalObject.electronAPI.documentDir();
1890118901
const dialogOptions = {
1890218902
defaultPath: options.defaultPath,
1890318903
title: options.title,
@@ -18927,7 +18927,7 @@ let $f1a90a4a391136ce$var$preferNodeWs = false, $f1a90a4a391136ce$var$forceNodeW
1892718927
* @returns {Promise<string|null>} A promise that resolves to the selected file path or null.
1892818928
*/ async function $f1a90a4a391136ce$var$openElectronFileSaveDialogueAsync(options) {
1892918929
options = options || {};
18930-
if (!options.defaultPath) options.defaultPath = await globalObject.electronAPI.getDocumentsDir();
18930+
if (!options.defaultPath) options.defaultPath = await globalObject.electronAPI.documentDir();
1893118931
const dialogOptions = {
1893218932
defaultPath: options.defaultPath,
1893318933
title: options.title
@@ -20076,6 +20076,8 @@ function $e3f139c5065f0041$var$_isSubPathOf(dir, subDir) {
2007620076
}
2007720077
const $e3f139c5065f0041$var$fileSystemLib = {
2007820078
mountNativeFolder: async function(...args) {
20079+
// Opens a file picker(or use provided handle) to open the folder in the system with fs access api.
20080+
// to be used in browsers like chrome/edge that supports fs access apis
2007920081
return $e3f139c5065f0041$require$NativeFS.mountNativeFolder(...args);
2008020082
},
2008120083
openTauriFilePickerAsync: function(options) {

dist/virtualfs-debug.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/virtualfs.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/virtualfs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)