forked from Kode/Kha
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget_dlc_dangerously
More file actions
executable file
·33 lines (27 loc) · 1.16 KB
/
Copy pathget_dlc_dangerously
File metadata and controls
executable file
·33 lines (27 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
. `dirname "$0"`/Tools/platform.sh
if test -f `dirname "$0"`"/Tools/khamake/khamake.js"; then
git -C `dirname "$0"` submodule update --remote --merge Tools/khamake
else
git -C `dirname "$0"` submodule update --init --remote Tools/khamake
git -C `dirname "$0"`/Tools/khamake checkout main
fi
if test -f `dirname "$0"`"/Backends/Kore-hxcpp/khacpp/LICENSE.txt"; then
git -C `dirname "$0"` submodule update --remote --merge Backends/Kore-hxcpp/khacpp
else
git -C `dirname "$0"` submodule update --init --remote Backends/Kore-hxcpp/khacpp
git -C `dirname "$0"`/Backends/Kore-hxcpp/khacpp checkout main
fi
if test -f `dirname "$0"`"/Tools/$KORE_PLATFORM/LICENSE.txt"; then
git -C `dirname "$0"` submodule update --remote --merge "Tools/$KORE_PLATFORM"
else
git -C `dirname "$0"` submodule update --init --remote "Tools/$KORE_PLATFORM"
git -C `dirname "$0"`/Tools/$KORE_PLATFORM checkout main
fi
if test -f `dirname "$0"`"/Kore/get_dlc_dangerously"; then
git -C `dirname "$0"` submodule update --remote --merge Kore
else
git -C `dirname "$0"` submodule update --init --remote Kore
git -C `dirname "$0"`/Kore checkout v2
fi
bash `dirname "$0"`/Kore/get_dlc_dangerously