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
+3 -3
View File
@@ -1,15 +1,14 @@
{
"name": "real-debrid-downloader",
"version": "1.1.29",
"version": "1.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "real-debrid-downloader",
"version": "1.1.29",
"version": "1.3.0",
"license": "MIT",
"dependencies": {
"7zip-bin": "^5.2.0",
"adm-zip": "^0.5.16",
"react": "^18.3.1",
"react-dom": "^18.3.1",
@@ -2231,6 +2230,7 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.2.0.tgz",
"integrity": "sha512-ukTPVhqG4jNzMro2qA9HSCSSVJN3aN7tlb+hfqYCt3ER0yWroeA2VR38MNrOHLQ/cVj+DaIMad0kFCtWWowh/A==",
"dev": true,
"license": "MIT"
},
"node_modules/abbrev": {