Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/scripts/osx/copy-to-steam.sh
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-20 14:33:09 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-20 14:33:09 +1000
commit6352e8e3196f78388b6c771073f9e03eaa612673 (patch)
treee23772f79a7fbc41bc9108951e9e136857484bf4 /scripts/osx/copy-to-steam.sh
parent6741a057e5639280d85d0f88ba26f000baa58f61 (diff)
everything everywhere
all at once
Diffstat (limited to 'scripts/osx/copy-to-steam.sh')
-rw-r--r--scripts/osx/copy-to-steam.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/osx/copy-to-steam.sh b/scripts/osx/copy-to-steam.sh
new file mode 100644
index 0000000..165ee40
--- /dev/null
+++ b/scripts/osx/copy-to-steam.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+cd "`dirname \"$0\"`/../../dist"
+
+STEAM_INSTALL_DIR="$HOME/Library/Application Support/Steam/steamapps/common/Starbound - Unstable"
+
+./asset_packer -c ../scripts/packing.config ../assets/packed ./packed.pak
+mv packed.pak "$STEAM_INSTALL_DIR/assets/packed.pak"
+cp starbound "$STEAM_INSTALL_DIR/osx/Starbound.app/Contents/MacOS/"