chore: adding parameters to file picker in logical order

This commit is contained in:
Marco Rodolfi
2023-06-22 17:25:38 +02:00
parent 186c70591a
commit ae887e10d6
2 changed files with 4 additions and 4 deletions
@@ -29,6 +29,7 @@ const installFromZip = async () => {
return;
}
window.DeckyPluginLoader.openFilePickerV2(
FileSelectionType.FILE,
path,
true,
true,
@@ -36,7 +37,6 @@ const installFromZip = async () => {
['zip'],
false,
false,
FileSelectionType.FILE,
).then((val) => {
const url = `file://${val.path}`;
console.log(`Installing plugin locally from ${url}`);