Update bootstrap URLs
This commit is contained in:
@@ -2,12 +2,10 @@
|
|||||||
|
|
||||||
## Bugs
|
## Bugs
|
||||||
|
|
||||||
- `install.sh` defaults `ANDROID_BUILDER_REPO` to `http://192.168.1.46:8085/Dark98/Termux-Android-Builder.git`, which only works on the local LAN setup. If this repo is meant to be portable, the default should point to a stable remote or be documented as LAN-only.
|
|
||||||
- The generated `gradlew` wrapper just forwards to the system `gradle` package. That is convenient in Termux, but it means builds are not pinned to a project-specific Gradle wrapper version.
|
- The generated `gradlew` wrapper just forwards to the system `gradle` package. That is convenient in Termux, but it means builds are not pinned to a project-specific Gradle wrapper version.
|
||||||
- The generated app pins Android Gradle Plugin `8.5.2` without pinning a compatible Gradle wrapper version. That can break when the installed Gradle package changes or is incompatible with that plugin version.
|
- The generated app pins Android Gradle Plugin `8.5.2` without pinning a compatible Gradle wrapper version. That can break when the installed Gradle package changes or is incompatible with that plugin version.
|
||||||
- The CLI is now split into a dispatcher plus per-command scripts under `lib/commands/`, which improves readability but adds more files to maintain.
|
- The CLI is now split into a dispatcher plus per-command scripts under `lib/commands/`, which improves readability but adds more files to maintain.
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
- Decide whether the default repo URL in `install.sh` should stay LAN-specific or be replaced with a public canonical URL.
|
|
||||||
- Consider generating a real Gradle wrapper for new projects instead of relying on `gradle` from Termux.
|
- Consider generating a real Gradle wrapper for new projects instead of relying on `gradle` from Termux.
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ Then run the bootstrap installer inside Termux:
|
|||||||
pkg update
|
pkg update
|
||||||
pkg upgrade -y
|
pkg upgrade -y
|
||||||
pkg install -y curl
|
pkg install -y curl
|
||||||
curl -fsSL http://192.168.1.46:8085/Dark98/Termux-Android-Builder/raw/branch/main/install.sh | bash
|
curl -fsSL https://git.dark98.co.uk/Dark98/Termux-Android-Builder/raw/branch/main/install.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
The bootstrapper will:
|
The bootstrapper will:
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
BOOTSTRAP_VERSION="0.1.0"
|
BOOTSTRAP_VERSION="0.1.0"
|
||||||
REPO_URL="${ANDROID_BUILDER_REPO:-http://192.168.1.46:8085/Dark98/Termux-Android-Builder.git}"
|
REPO_URL="${ANDROID_BUILDER_REPO:-https://git.dark98.co.uk/Dark98/Termux-Android-Builder.git}"
|
||||||
INSTALL_DIR="${ANDROID_BUILDER_HOME:-$HOME/android-builder}"
|
INSTALL_DIR="${ANDROID_BUILDER_HOME:-$HOME/android-builder}"
|
||||||
|
|
||||||
echo "AndroidBuilder Bootstrapper v$BOOTSTRAP_VERSION"
|
echo "AndroidBuilder Bootstrapper v$BOOTSTRAP_VERSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user