fix: extract .desktop inside a dedicated file and add npm run test:metainfo and test:desktop to check file.

also clean:dist
This commit is contained in:
MasterAcnolo
2026-10-02 14:52:30 +02:00
parent a308352ea0
commit cf65069496
3 changed files with 14 additions and 18 deletions

View File

@@ -16,6 +16,7 @@
},
"main": "main.js",
"scripts": {
"clean:dist": "rm -rf dist/",
"start": "electron --no-warnings .",
"start:warn": "electron --trace-warnings .",
"start:debug": "WAYLAND_DEBUG=1 ELECTRON_ENABLE_LOGGING=1 ELECTRON_ENABLE_STACK_DUMPING=1 electron --enable-logging --v=1 .",
@@ -32,6 +33,8 @@
"release:dry-run": "bash scripts/release.sh --dry-run",
"test": "jest",
"test:unit": "jest test/unit",
"test:metainfo": "appstreamcli validate package/com.masteracnolo.freedomloader.metainfo.xml",
"test:desktop": "desktop-file-validate package/com.masteracnolo.freedomloader.desktop",
"lint": "eslint . --format pretty",
"lint:fix": "eslint . --fix --format pretty",
"update": "npm update"