From e83fd8aef33df5116ce8cf9f14ebc1a902db6cec Mon Sep 17 00:00:00 2001 From: DepressedTWM Date: Thu, 6 Aug 2026 16:29:57 +0400 Subject: [PATCH] ngpfoigfip[dhgh --- make-oneshot-bsd.sh | 36 ++++++++++++++++++++++++++++++++++++ make-oneshot-linux.sh | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100755 make-oneshot-bsd.sh diff --git a/make-oneshot-bsd.sh b/make-oneshot-bsd.sh new file mode 100755 index 0000000..8678552 --- /dev/null +++ b/make-oneshot-bsd.sh @@ -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 diff --git a/make-oneshot-linux.sh b/make-oneshot-linux.sh index 170cf73..b3f71ad 100755 --- a/make-oneshot-linux.sh +++ b/make-oneshot-linux.sh @@ -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.