Replace 7zip-bin with WinRAR for archive extraction v1.3.0

- Remove 7zip-bin dependency and asarUnpack config
- Use WinRAR/UnRAR.exe from standard install paths with auto-detection
- Add resolver with probing to cache the found extractor command
- Add -y flag for auto-confirm and WinRAR.exe command support
- Update tests for WinRAR argument format

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-02-27 13:34:34 +01:00
co-authored by Claude Opus 4.6
parent d867c55e37
commit 73c8b6e670
4 changed files with 88 additions and 77 deletions
+2 -6
View File
@@ -1,6 +1,6 @@
{
"name": "real-debrid-downloader",
"version": "1.1.29",
"version": "1.3.0",
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
"main": "build/main/main/main.js",
"author": "Sucukdeluxe",
@@ -22,12 +22,11 @@
"adm-zip": "^0.5.16",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"7zip-bin": "^5.2.0",
"uuid": "^11.1.0"
},
"devDependencies": {
"@types/node": "^24.0.13",
"@types/adm-zip": "^0.5.7",
"@types/node": "^24.0.13",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/uuid": "^10.0.0",
@@ -55,9 +54,6 @@
"build/renderer/**/*",
"package.json"
],
"asarUnpack": [
"node_modules/7zip-bin/**/*"
],
"win": {
"target": [
"nsis",