Declare a component instead of a prepare block

Same command, said as what this project produces. See dev-updater's
commit for the model.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QQz6R4kBQcWSHBNZMgBnjL
This commit is contained in:
irisandClaude Opus 5 committed 2026-08-25 23:44:08 -04:00
1 parent bc2bfc007c
commit 1f76985193
1 file changed
+5 -6
+5 -6
View File
@@ -1,12 +1,11 @@
// Read by Dev Updater. Structured as the body of the config: no outer
// parentheses, so nothing here is indented for the sake of a wrapper.
// Enough to add this project before it has ever been built: with nothing
// built there is no APK to read an identity out of. A built APK wins over
// both of these wherever there is one.
package: "com.example.aiapp",
label: "AI Sessions",
prepare: (
command: "./build-apk.sh",
components: [
Apk(
name: "app",
build: "./build-apk.sh",
),
],