2025-01-29 10:55:49 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
. `dirname "$0"`/Tools/platform.sh
|
2026-06-09 12:45:01 -07:00
|
|
|
if test -f `dirname "$0"`"/Tools/$KORE_PLATFORM/icon.png"; then
|
|
|
|
|
git -C `dirname "$0"` submodule update --remote --merge "Tools/$KORE_PLATFORM"
|
2025-01-29 10:55:49 +01:00
|
|
|
else
|
2026-06-09 12:45:01 -07:00
|
|
|
git -C `dirname "$0"` submodule update --init --remote "Tools/$KORE_PLATFORM"
|
|
|
|
|
git -C `dirname "$0"`/Tools/$KORE_PLATFORM checkout main
|
2025-01-29 10:55:49 +01:00
|
|
|
fi
|