mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Compile steamshim
This commit is contained in:
parent
d362fcf317
commit
07423256ea
4 changed files with 10 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
rm -rf journal/mac/__pycache__
|
rm -rf journal/mac/__pycache__
|
||||||
|
rm -rf steamshim_parent/steamshim
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
rm -rf _______.app
|
rm -rf _______.app
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,10 @@ echo "-> ${cyan}Generate makefile...${color_reset}"
|
||||||
qmake
|
qmake
|
||||||
echo "-> ${cyan}Compile engine...${color_reset}"
|
echo "-> ${cyan}Compile engine...${color_reset}"
|
||||||
make -j${make_threads}
|
make -j${make_threads}
|
||||||
|
echo "-> ${cyan}Compile steamshim...${color_reset}"
|
||||||
|
cd steamshim_parent
|
||||||
|
HOST=linux64 make -j${make_threads}
|
||||||
|
cd ..
|
||||||
echo "-> ${cyan}Compile journal...${color_reset}"
|
echo "-> ${cyan}Compile journal...${color_reset}"
|
||||||
pyinstaller journal/unix/journal.spec --onefile --windowed
|
pyinstaller journal/unix/journal.spec --onefile --windowed
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,10 @@ echo "-> ${cyan}Generate makefile...${color_reset}"
|
||||||
qmake MRIVERSION=2.5
|
qmake MRIVERSION=2.5
|
||||||
echo "-> ${cyan}Compile engine...${color_reset}"
|
echo "-> ${cyan}Compile engine...${color_reset}"
|
||||||
make -j${make_threads}
|
make -j${make_threads}
|
||||||
|
echo "-> ${cyan}Compile steamshim...${color_reset}"
|
||||||
|
cd steamshim_parent
|
||||||
|
HOST=osx make -j${make_threads}
|
||||||
|
cd ..
|
||||||
echo "-> ${cyan}Compile journal...${color_reset}"
|
echo "-> ${cyan}Compile journal...${color_reset}"
|
||||||
pyinstaller journal/unix/journal.spec --onefile --windowed
|
pyinstaller journal/unix/journal.spec --onefile --windowed
|
||||||
|
|
||||||
|
|
@ -43,7 +47,7 @@ if [ ! -e $ResourcesDir ]
|
||||||
mkdir -p "$ResourcesDir"
|
mkdir -p "$ResourcesDir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp patches/mac/steamshim ./OneShot.app/Contents/Resources/steamshim
|
cp steamshim_parent/steamshim ./OneShot.app/Contents/Resources/steamshim
|
||||||
cp patches/mac/libsteam_api.dylib ./OneShot.app/Contents/Libraries/libsteam_api.dylib
|
cp patches/mac/libsteam_api.dylib ./OneShot.app/Contents/Libraries/libsteam_api.dylib
|
||||||
cmake -P patches/mac/CompleteBundle.cmake
|
cmake -P patches/mac/CompleteBundle.cmake
|
||||||
cp assets/icon.icns ./OneShot.app/Contents/Resources/icon.icns
|
cp assets/icon.icns ./OneShot.app/Contents/Resources/icon.icns
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in a new issue