dave92082 / bs-patch Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
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!
Hey, thanks for your efforts :-)
I compiled your code and tried to run it, without success:
$ ./bs-patch
INFO[0000] Reading config.yaml
INFO[0000] Finding Latest BluOS Controller
INFO[0002] Downloading Latest BlueOS controller: https://www.bluesound.com/wp-content/uploads/2020/11/BluOS-Controller-3.12.1.dmg
Downloading... 98 MB complete
INFO[0035] Extracting BlueOS Controller DMG
INFO[0037] Extracting ASAR
INFO[0039] Patching electron.js
INFO[0039] Patching app.js - Update Check
INFO[0039] Patching app.js - Update Platform
INFO[0039] Adding electron dependency
INFO[0055] Adding electron-builder dependency
INFO[0065] Building Snap and AppImage
ERRO[0065] Error extracting ASAR:
INFO[0065] Cleaning up
Additional information
+ git rev-parse HEAD
5faae18d4d77578a6e68685664f92a7c61906ad7
+ go version
go version go1.13.15 linux/amd64
+ lsb_release -d
Description: Fedora release 31 (Thirty One)
+ npx -v
6.13.4
+ npm -v
6.13.4
+ whereis npm
npm: /usr/bin/npm /home/frafra/.nvm/versions/node/v12.15.0/bin/npm /usr/share/man/man1/npm.1.gz
+ whereis npx
npx: /usr/bin/npx /home/frafra/.nvm/versions/node/v12.15.0/bin/npx /usr/share/man/man1/npx.1.g
+ cat config.yaml
nodeBinPath: "/usr/bin"
Hello. I am having problems building the patched app.
Can you think of anything that could be wrong in my setup?
Thanks!
[I] mongo@arch ~/Downloads/bs-p> which npm /usr/bin/npm
./bs-patch INFO[0000] Reading config.yaml INFO[0000] Finding Latest BluOS Controller INFO[0004] Downloading Latest BlueOS controller: https://www.bluesound.com/wp-content/uploads/2020/11/BluOS-Controller-3.12.1.dmg Downloading... 98 MB complete INFO[0283] Extracting BlueOS Controller DMG INFO[0285] Extracting ASAR ERRO[0285] Error extracting ASAR: INFO[0285] Patching electron.js INFO[0285] Patching app.js - Update Check INFO[0285] Patching app.js - Update Platform INFO[0285] Adding electron dependency ERRO[0285] Error installing electron: INFO[0285] Adding electron-builder dependency ERRO[0285] Error installing electron: INFO[0285] Building Snap and AppImage ERRO[0285] Error extracting ASAR: INFO[0285] Cleaning up
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.