mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
ngpfoigfip[dhgh
This commit is contained in:
parent
b373610257
commit
e83fd8aef3
2 changed files with 37 additions and 1 deletions
36
make-oneshot-bsd.sh
Executable file
36
make-oneshot-bsd.sh
Executable 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
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue