build script

This commit is contained in:
wan-may 2025-03-16 13:52:36 -03:00
parent 6ed70e4370
commit 7af2c22536
10 changed files with 45 additions and 7 deletions

3
.gitignore vendored Normal file
View File

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

10
AKULIVIK.desktop Normal file
View File

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

View File

@ -1,5 +1,33 @@
rm -r build/win/
rm -r build/out/
rm -r build/linux/
rm -r build/macos/
mkdir -p build/
mkdir -p build/out/
cd src
zip -9 -r "../ᐊᑯᓕᕕᒃ.love" .
cd ..
#windows
cat "/home/frc/Bureau/frc/dev/love/love-11.5-win64/love.exe" "ᐊᑯᓕᕕᒃ.love" > ᐊᑯᓕᕕᒃ.exe
zip -9 -r "../build/out/AKULIVIK.love" .
cd ../build/
echo WINDOWS
mkdir -p win/
cp -r "/home/frc/Bureau/frc/dev/love/love-11.5-win64/" win/
cat licence.txt win/license.txt > win/license.txt
cat "win/love.exe" "out/AKULIVIK.love" > win/ᐊᑯᓕᕕᒃ.exe
rm win/love.exe
zip -9 -r "out/ᐊᑯᓕᕕᒃ-win.zip" win/
echo LINUX
mkdir -p linux/
cp -r /home/frc/Bureau/frc/dev/love/linux/ .
cat "linux/bin/love" "out/AKULIVIK.love" > "linux/bin/AKULIVIK"
chmod +x linux/bin/AKULIVIK
rm linux/bin/love
rm linux/love.svg
cp AKULIVIK.desktop linux/love.desktop
cp favicon.png linux/AKULIVIK.png
cat licence.txt linux/license.txt > linux/license.txt
cp AppRun linux/AppRun
/home/frc/Bureau/frc/dev/love/appimagetool-x86_64.AppImage linux/ out/AKULIVIK.AppImage
echo MACOS

View File

@ -1,3 +0,0 @@
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

BIN
src/tex/cubemap_0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

BIN
src/tex/cubemap_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

BIN
src/tex/cubemap_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

BIN
src/tex/cubemap_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

BIN
src/tex/cubemap_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

BIN
src/tex/cubemap_5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB