cakefoot/src/steam_build.sh

14 lines
687 B
Bash

#!/bin/bash
unzip -d dist/protected/ dist/protected/Cakefoot-linux.zip
unzip -d dist/protected/ dist/protected/Cakefoot-win32.zip
unzip -d dist/protected/ dist/protected/Cakefoot-win64.zip
mkdir -p dist/protected/dmg
7z x -odist/protected/dmg/ dist/protected/Cakefoot.dmg
bash $HOME/ext/software/steamworks/sdk/tools/ContentBuilder/builder_linux/steamcmd.sh +login tarecontrol +run_app_build \
$(pwd)/src/steam_app_build.vdf +quit
mv dist/protected/Cakefoot-linux /tmp && rm -rf /tmp/Cakefoot-linux
mv dist/protected/Cakefoot-win32 /tmp && rm -rf /tmp/Cakefoot-win32
mv dist/protected/Cakefoot-win64 /tmp && rm -rf /tmp/Cakefoot-win64
mv dist/protected/dmg /tmp && rm -rf /tmp/dmg