-
Notifications
You must be signed in to change notification settings - Fork 1
/
test-rapture-full.sh
executable file
·23 lines (17 loc) · 1.02 KB
/
test-rapture-full.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# decrossfuscator - A project to undo the effects of a specific version of Google Closure Compiler for a specific game by mapping between versions.
# Written starting in 2017 by contributors (see CREDITS.txt)
# To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
# You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
# Expects 'root' folder as first arg, but will substitute '.' otherwise.
# Expects a CrossCode version as second arg, but defaults to target
ROOTDIR=${1:-.}
VERSION=${2:-target}
VERSIMF=$ROOTDIR/versions/$VERSION
MODFOLDER=$PWD/mods
./package-rapture.sh
rm -r workfiles/rapture-testfield
mkdir -p workfiles/rapture-testfield
cp -r $VERSIMF/subdir/* workfiles/rapture-testfield/
cd workfiles/rapture-testfield
unzip -o ../../rapture-package.zip