mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 22:31:59 +00:00
chore: clean up unused parameters
This commit is contained in:
@@ -365,29 +365,9 @@ class PluginLoader extends Logger {
|
|||||||
regex?: RegExp,
|
regex?: RegExp,
|
||||||
): Promise<{ path: string; realpath: string }> {
|
): Promise<{ path: string; realpath: string }> {
|
||||||
if (selectFiles) {
|
if (selectFiles) {
|
||||||
return this.openFilePickerV2(
|
return this.openFilePickerV2(FileSelectionType.FILE, startPath, true, true, regex);
|
||||||
FileSelectionType.FILE,
|
|
||||||
startPath,
|
|
||||||
true,
|
|
||||||
true,
|
|
||||||
regex,
|
|
||||||
undefined,
|
|
||||||
undefined,
|
|
||||||
undefined,
|
|
||||||
undefined,
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
return this.openFilePickerV2(
|
return this.openFilePickerV2(FileSelectionType.FOLDER, startPath, false, true, regex);
|
||||||
FileSelectionType.FOLDER,
|
|
||||||
startPath,
|
|
||||||
false,
|
|
||||||
true,
|
|
||||||
regex,
|
|
||||||
undefined,
|
|
||||||
undefined,
|
|
||||||
undefined,
|
|
||||||
undefined,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user