android signing

This commit is contained in:
2026-01-01 16:13:08 +02:00
parent 37f689f36d
commit 95d7489aa3
8 changed files with 180 additions and 15 deletions

View File

@@ -31,7 +31,8 @@ DECLARE_BUILD_STAGE(android_build)
filesystem2->MakeDirectory(CUtlString("%s/lib/x86_64",szManifestDir.GetString()));
filesystem2->CopyFile(CUtlString("%s/lib/x86_64/libnative-app.so",szManifestDir.GetString()), szOutputDir);
APKTool()->BuildPackage(manifest, szManifestDir);
CUtlString szApk = APKTool()->BuildPackage(manifest, szManifestDir);
APKTool()->SignPackage(szApk, NULL, "mykey", "storepass", "storepass");
return 0;
}

View File

@@ -26,6 +26,7 @@ void android_main(struct android_app* app) {
struct android_poll_source* source;
while (1) {
LOGI("what");
int ident;
while ((ident = ALooper_pollOnce(0, NULL, &events, (void**)&source)) >= 0) {
if (source) source->process(app, source);