From d10817bcb92c16d09f14e6831dadd3cf2a344051 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 31 Mar 2024 19:49:59 +0200 Subject: [PATCH] cleanup --- README.md | 10 +--------- doc/scripts/pack.sh | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 9 deletions(-) create mode 100755 doc/scripts/pack.sh diff --git a/README.md b/README.md index 47e4f6f..c71f909 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Key features: - Space: stop moving - AWSD: accelerate - Shift and Ctrl: accelerate up and down +- JKLUIO: mouseless camera rotation - e: open communication channel to nearby astronauts - t: toggle music (NOTE: currently no music is included in the git repo) - m: mute sound effects @@ -28,15 +29,6 @@ Key features: - f: toggle 3rd person view - TAB: toggle augmented reality overlay (HUD, low-light amplifier) -Extra key bindings for mouseless playing: - -- j: look left -- i: look up -- k: look down -- l: look right -- u: rotate left -- o: rotate right - # System Requirements - Screen, keyboard diff --git a/doc/scripts/pack.sh b/doc/scripts/pack.sh new file mode 100755 index 0000000..3d5a386 --- /dev/null +++ b/doc/scripts/pack.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +VERSION=0.4.0 +TMPPATH=ZIP_TMP_PATH +mkdir "$TMPPATH" +cd "$TMPPATH" + +SRCPATH="outfly_v$VERSION" +mkdir "$SRCPATH" + +cp ../README.md "$SRCPATH" +cp ../target/x86_64-pc-windows-gnu/release/outfly.exe "$SRCPATH" +zip -v -r -9 ../"outfly_v${VERSION}_windows.zip" "$SRCPATH" + +rm "$SRCPATH"/outfly.exe +cp ../target/release/outfly "$SRCPATH" +zip -v -r -9 ../"outfly_v${VERSION}_linux.zip" "$SRCPATH" + +cd .. +rm -rf "$TMPPATH"