You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Audit codebase and implement comprehensive improvements (#22)
Fixes bounding box calculations, process execution, thread management, shell scripts, and build configurations; adds unit tests for core logic. Review feedback on ADB timeout handling and CLI subshell logic addressed in bbdbd10.
Both version flags are required. The build will fail if you don't include them.
74
+
Version flags can be passed via `-PVERSION_NAME` and `-PVERSION_CODE`. Defaults (`0.1.0` / `1`) are configured in `gradle.properties` if omitted.
75
75
76
-
| Flag | Type | Example | Purpose |
77
-
|---|---|---|---|
78
-
|`-PVERSION_NAME`| String |`"0.1.0"`| The version string users see. |
79
-
|`-PVERSION_CODE`| Int |`1`| Internal integer for tracking updates. |
76
+
| Flag | Type |Default |Example | Purpose |
77
+
|---|---|---|---|---|
78
+
|`-PVERSION_NAME`| String |`"0.1.0"`|`"0.1.0"`|The version string users see. |
79
+
|`-PVERSION_CODE`| Int |`1`|`1`|Internal integer for tracking updates. |
80
80
81
-
During the testing phase, `VERSION_NAME` stays at `0.1.0` regardless of changes. This keeps distribution consistent until we validate core features. Our CI/CD workflow handles automatic version assignment for official releases.
81
+
Our CI/CD workflow handles automatic version assignment for official releases.
82
82
83
83
## Verifying Your Build
84
84
@@ -96,16 +96,16 @@ Once the build finishes, you should verify the artifacts before deployment.
This means your environment isn't using JDK 17. Check your version with `java -version` and make sure `JAVA_HOME` points to the right path.
108
+
Make sure `JAVA_HOME` points to a compatible JDK 17+ distribution. Check your version with `java -version`.
109
109
110
110
### SDK Not Found
111
111
@@ -119,10 +119,6 @@ If the build hangs or behaves strangely, try stopping the daemon:
119
119
```
120
120
Then run your build command again.
121
121
122
-
### Version Flags Missing
123
-
124
-
If you see "Version flags are required," you forgot to pass `-PVERSION_NAME` and `-PVERSION_CODE`. These are mandatory for every build task.
125
-
126
122
## CI/CD Pipeline
127
123
128
124
We use GitHub Actions for automated builds. The release workflow handles:
@@ -134,14 +130,10 @@ We use GitHub Actions for automated builds. The release workflow handles:
134
130
- GitHub Release creation.
135
131
- Deployment of `update.json` for the in-app updater.
136
132
137
-
For CI builds without access to release signing secrets, `assembleDebug` is used instead of `assembleRelease`. Debug APKs are suitable for testing but should not be distributed to end users.
138
-
139
133
## Project Structure
140
134
141
135
```
142
136
├── android-app/ # Android app and LSPosed/Vector hook module
0 commit comments