mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
feature test file system access API
This commit is contained in:
@@ -11,6 +11,9 @@ export class Files {
|
||||
}
|
||||
|
||||
open_directory() {
|
||||
if(globalThis.showDirectoryPicker == null) {
|
||||
throw new Error('Your browser is not supporting File System Access API')
|
||||
}
|
||||
load_dir(true).then(dir => {
|
||||
exec('load_dir', dir)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user