build folder structure

This commit is contained in:
wan-may 2025-03-16 13:53:19 -03:00
parent 7af2c22536
commit ea7beb6ebc
6 changed files with 46 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,3 +0,0 @@
*.exe
*.love
build/

4
build/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
out/
linux/
macos/
win/

10
build/AKULIVIK.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Name=AKULIVIK
Comment=Circumpolar Puzzle Game
MimeType=application/x-love-game;
Exec=AKULIVIK %f
Type=Application
Categories=Game;
Terminal=false
Icon=AKULIVIK
NoDisplay=true

29
build/AppRun Executable file
View File

@ -0,0 +1,29 @@
#!/bin/sh
if [ -z "$APPDIR" ]; then
APPDIR="$(dirname "$(readlink -f "$0")")"
fi
export LD_LIBRARY_PATH="$APPDIR/lib/:$LD_LIBRARY_PATH"
if [ -z "$XDG_DATA_DIRS" ]; then #unset or empty
XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
fi
export XDG_DATA_DIRS="$APPDIR/share/:$XDG_DATA_DIRS"
if [ -z "$LUA_PATH" ]; then
LUA_PATH=";" # so ends with ;;
fi
# if user's LUA_PATH does not end with ;; then user doesn't want the default path ?
export LUA_PATH="$APPDIR/share/luajit-2.1.0-beta3/?.lua;$APPDIR/share/lua/5.1/?.lua;$LUA_PATH"
if [ -z "$LUA_CPATH" ]; then
LUA_CPATH=";"
fi
export LUA_CPATH="$APPDIR/lib/lua/5.1/?.so;$LUA_CPATH"
# uncomment and edit to add your own game
#FUSE_PATH="$APPDIR/my_game.love"
#FUSE_PATH="$APPDIR/my_game"
exec "$APPDIR/bin/AKULIVIK" "$@"

BIN
build/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

3
build/licence.txt Normal file
View File

@ -0,0 +1,3 @@
Assets:
Johann Wilhelm Weis-Cuiller, photo par Ji-Elle sur Wikipedia: https://commons.wikimedia.org/wiki/File:Johann_Wilhelm_Weis-Cuiller.jpg licenced under CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/
Coffee spoon MET 17847.jpg, CC0 https://commons.wikimedia.org/wiki/File:Coffee_spoon_MET_17847.jpg