-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
dist | ||
downloads | ||
bluos-controller.* | ||
output/ | ||
downloads/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM registry.opensuse.org/opensuse/tumbleweed:latest | ||
|
||
RUN zypper -n install lynx wget jq npm10 p7zip-full patch | ||
ADD bs-bashpatch.sh . | ||
ADD patches patches | ||
|
||
CMD ["/bin/bash", "bs-bashpatch.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,64 @@ | ||
# What is that? | ||
|
||
This script repackages BluOS Controller to make it work on Linux. | ||
This script repackages the latest version of the BluOS Controller to make it work on Linux. | ||
|
||
See: https://support1.bluesound.com/hc/en-us/community/posts/360033533054-BluOS-controller-app-on-Linux | ||
|
||
# How to build | ||
|
||
## Using Docker or Podman (suggested) | ||
|
||
Replace `docker` with `podman` if you prefer to use Podman. | ||
|
||
``` | ||
podman build -t bs-bashpatch . | ||
mkdir -p downloads output | ||
podman run --rm -v $PWD/output:/output -v $PWD/downloads:/downloads bs-bashpatch | ||
``` | ||
|
||
## Without using Docker or Podman | ||
|
||
### Install dependencies | ||
|
||
- bash | ||
- wget | ||
- lynx | ||
- jq | ||
- p7zip | ||
- Debian: p7zip-full | ||
- OpenSUSE Tumbleweed: p7zip-full | ||
- OpenSUSE Leap 15: p7zip | ||
- Fedora: p7zip-plugins | ||
- patch | ||
- npm | ||
- OpenSUSE: npm10 | ||
|
||
### Run the script | ||
|
||
``` | ||
./bs-bashpatch.sh | ||
``` | ||
|
||
# How to run | ||
|
||
## Default mode | ||
|
||
Open the output directory and run the generated AppImage. | ||
|
||
## Expert mode | ||
|
||
Run the latest generated AppImage and print console messages: | ||
|
||
``` | ||
ELECTRON_ENABLE_LOGGING=true "$(ls output/*.AppImage | sort | head -n1)" | ||
``` | ||
|
||
# Common issues | ||
|
||
## Program crashes when opened after few seconds | ||
|
||
Try to delete the configuration and try again: | ||
|
||
``` | ||
ELECTRON_ENABLE_LOGGING=true ./dist/linux-unpacked/bluos | ||
rm -rf ~/.config/BluOS\ Controller | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters