fix browse_files function

This commit is contained in:
lohxt1
2025-03-17 16:55:56 +05:30
parent 3808089e60
commit 74d9b0aafe

View File

@@ -131,7 +131,7 @@ const browseFiles = async (win, filters = [], properties = []) => {
return [];
}
return filePaths.map((path) => path.resolve(path)).filter((path) => isFile(path));
return filePaths.map((filePath) => path.resolve(filePath)).filter((filePath) => isFile(filePath));
};
const chooseFileToSave = async (win, preferredFileName = '') => {