dave92082 / bs-patch

MIT License
7 stars 2 forks source link

"Error installing electron" and "Error extracting ASAR" #5

Open reaganch opened 2 years ago

reaganch commented 2 years ago

For the last couple of versions of BluOS Controller, I was able to download the AppImage files shared on https://support1.bluesound.com/hc/en-us/community/posts/360033533054-BluOS-controller-app-on-Linux, and they seemed to work just fine. Since no AppImage for v3.16 was posted on the forum though, I tried to build it myself following these steps on Linux Mint 20.2, but have encountered a few errors.

  1. Ran "sudo apt install npm"
  2. Running "which npm" gives "/usr/bin/npm"
  3. Running "npm -v" gives "6.14.4"
  4. Running "node -v" gives "v10.19.0"
  5. Downloaded the bs-patch binary
  6. Created a file called config.yaml with the following contents: nodeBinPath: "/usr/bin/"
  7. Ran "./bs-patch", which gives the following results:
INFO[0000] Reading config.yaml                          
INFO[0000] Finding Latest BluOS Controller              
INFO[0003] Downloading Latest BlueOS controller: https://content-bluesound-com.s3.amazonaws.com/uploads/2021/11/BluOS-Controller-3.16.0.dmg 
Downloading... 248 MB complete     
INFO[0055] Extracting BlueOS Controller DMG             
INFO[0055] Extracting ASAR                              
INFO[0055] Patching electron.js                         
INFO[0055] Patching app.js - Update Check               
INFO[0055] Patching app.js - Update Platform            
INFO[0055] Adding electron dependency                   
ERRO[0055] Error installing electron:                   
INFO[0055] Adding electron-builder dependency           
ERRO[0055] Error installing electron:                   
INFO[0055] Building Snap and AppImage                   
ERRO[0055] Error extracting ASAR:                       
INFO[0055] Cleaning up

Any thoughts on what I may be doing wrong?

Thanks!

andmarti1424 commented 2 years ago

Same here. Seems the dmg of later versions cannot be extracted correctly with 7z. Still havent found a way to make the build finish.