ngpfoigfip[dhgh

This commit is contained in:
DepressedTWM 2026-08-06 16:29:57 +04:00
parent b373610257
commit e83fd8aef3
2 changed files with 37 additions and 1 deletions

36
make-oneshot-bsd.sh Executable file
View file

@ -0,0 +1,36 @@
#!/bin/sh
set -euo pipefail
cmake . -B build/
cd build
make -j$(nproc)
cd ..
mkdir -p build/bandle
mkdir -p build/bandle
mkdir -p build/bandle/Data
pyinstaller journal/unix/journal.spec #--windowed
ruby rpgscript.rb scripts/ build/bandle/
cp -r dist/_______/* build/bandle/
cp build/oneshot build/bandle/
# Copy libraries.
mkdir -p libs
ldd build/oneshot | ruby libraries.rb
#ldd steamshim_parent/build/steamshim | ruby libraries.rb
cp libs/* build/bandle
cp build/oneshot build/bandle
cp -r ../SunshineAssets/* build/bandle
cp oneshot.conf build/bandle
cd build
zip -r OneshotSunshine_BSD.zip bandle/*
cd ..
# Cleanup.
rm -rf journal/unix/__pycache__
#rm -rf build/*
rm -rf dist
#rm -rf steamshim_parent/build
rm -rf libs

View file

@ -42,7 +42,7 @@ cp -r ../SunshineAssets/* build/bandle
cp oneshot.conf build/bandle
cd build
zip -r OneshotSunshine.zip bandle/*
zip -r OneshotSunshine_Linux.zip bandle/*
cd ..
# Cleanup.