Skip to content

Commit

Permalink
add warning hint to linux scripts when build fails, update release as…
Browse files Browse the repository at this point in the history
…sets
  • Loading branch information
omriharel committed Jun 4, 2020
1 parent cf88a7f commit 4258d90
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
6 changes: 5 additions & 1 deletion scripts/linux/build-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ echo "- versionTag $VERSION_TAG"
echo "- buildType $BUILD_TYPE"

go build -o deej-dev -ldflags "-X main.gitCommit=$GIT_COMMIT -X main.versionTag=$VERSION_TAG -X main.buildType=$BUILD_TYPE" ./cmd
echo 'Done.'
if [ $? -eq 0 ]; then
echo 'Done.'
else
echo 'Error: "go build" exited with a non-zero code. Are you running this script from the deej directory?'
fi
7 changes: 6 additions & 1 deletion scripts/linux/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ echo "- versionTag $VERSION_TAG"
echo "- buildType $BUILD_TYPE"

go build -o deej-release -ldflags "-s -w -X main.gitCommit=$GIT_COMMIT -X main.versionTag=$VERSION_TAG -X main.buildType=$BUILD_TYPE" ./cmd
echo 'Done.'
if [ $? -eq 0 ]; then
echo 'Done.'
else
echo 'Error: "go build" exited with a non-zero code. Are you running this script from the deej directory?'
fi

4 changes: 3 additions & 1 deletion scripts/misc/default-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# process names are case-insensitive
# you can use 'master' to indicate the master channel, or a list of process names to create a group
# you can also use 'system' on windows to control the "system sounds" volume
# windows only:
# - experimental - you can use 'mic' to control your mic input level (uses the default recording device)
# - you can use 'system' to control the "system sounds" volume
slider_mapping:
0: master
1: chrome.exe
Expand Down
2 changes: 1 addition & 1 deletion scripts/misc/release-notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Launch instructions:
- Verify that your config has the correct COM port for your Arduino board
- Launch `deej.exe`. You can always edit the config while `deej` is running

**_Linux users:_** for the time being, please build from source. If there's demand for precompiled release binaries, please [let us know!](https://discord.gg/nf88NJu)
**_Linux users:_** for the time being, please build from source. You'll need `libgtk-3-dev`, `libappindicator3-dev` and `libwebkit2gtk-4.0-dev` for system tray support. If there's demand for precompiled release binaries, please [let us know!](https://discord.gg/nf88NJu)

> _Tip: If `deej.exe` seems to crash or doesn't start, please [send us](https://discord.gg/nf88NJu) the `logs\deej-latest-run.log` file from your `deej` directory.

Expand Down

0 comments on commit 4258d90

Please sign in to comment.