-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
a1c77f7
commit cd3b21d
Showing
4 changed files
with
25 additions
and
1 deletion.
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,2 +1,10 @@ | ||
|
||
config/points.json | ||
|
||
lovr-x86_64.AppImage | ||
|
||
playspace.lovr | ||
|
||
build/ | ||
|
||
*.gz |
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,13 @@ | ||
#!/bin/bash | ||
|
||
if [ ! -f "$(dirname "$0")/lovr-x86_64.AppImage" ]; then | ||
echo "Error: lovr-x86_64.AppImage not found!" | ||
echo "Please download a LÖVR AppImage from https://github.com/bjornbytes/lovr/actions and save it as lovr-x86_64.AppImage in this repository" | ||
exit 1 | ||
fi | ||
|
||
rm -f playspace.lovr && zip -9qr playspace.lovr json/json.lua conf.lua main.lua | ||
|
||
rm -rf build && mkdir build && cp playspace.lovr lovr-playspace.sh lovr-x86_64.AppImage build/ | ||
|
||
tar -czf "lovr-playspace-$(git describe --tags --abbrev=0).tar.gz" -C build/ . |
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,3 @@ | ||
#!/bin/bash | ||
dir="$(dirname "$(readlink -f "$0")")" | ||
"$dir/lovr-x86_64.AppImage" "$dir/playspace.lovr" |
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