1
0

auto-git:

[change] main.js
This commit is contained in:
2025-05-24 06:15:10 +02:00
parent eb2b7e0bf3
commit 6192861a4a

View File

@@ -487,10 +487,9 @@ app.whenReady().then(() => {
// Auto-Verzeichnisstruktur // Auto-Verzeichnisstruktur
const IGNORED_NAMES = [ const IGNORED_NAMES = [
'.DS_Store', 'node_modules', '.git', 'dist', 'build', '.DS_Store', 'node_modules', '.git', 'dist', 'build',
'.cache', 'out', '.venv', '.mypy_cache', '__pycache__' '.cache', 'out', '.venv', '.mypy_cache', '__pycache__', 'package-lock.json'
]; ];
// Hilfsfunktion: Dateinamen oder Ordner ignorieren?
function isIgnored(name) { function isIgnored(name) {
return IGNORED_NAMES.includes(name); return IGNORED_NAMES.includes(name);
} }
@@ -508,9 +507,7 @@ app.whenReady().then(() => {
list.push({ name: dirent.name, type: 'file' }); list.push({ name: dirent.name, type: 'file' });
} }
}); });
} catch (e) { } catch (e) {}
// Permissions o.ä. ignorieren
}
return list; return list;
} }