LNXCORE/Kinc/get_dlc_dangerously

9 lines
326 B
Plaintext
Raw Permalink Normal View History

2025-01-22 17:22:38 +01:00
#!/usr/bin/env bash
. `dirname "$0"`/Tools/platform.sh
if test -f "Tools/$KINC_PLATFORM/icon.png"; then
git -C `dirname "$0"` submodule update --remote --merge "Tools/$KINC_PLATFORM"
else
git -C `dirname "$0"` submodule update --init --remote "Tools/$KINC_PLATFORM"
git -C `dirname "$0"`/Tools/$KINC_PLATFORM checkout main
fi