Ver V0.1.16 Add Android version to project

This commit is contained in:
2026-10-07 00:26:54 +03:00
parent 7135cbb629
commit 520056d27c
83 changed files with 5783 additions and 5 deletions
+17
View File
@@ -0,0 +1,17 @@
const { spawnSync } = require('node:child_process');
const path = require('node:path');
const androidDir = path.resolve(__dirname, '..', 'android');
const gradleWrapper = process.platform === 'win32' ? 'gradlew.bat' : './gradlew';
const result = spawnSync(gradleWrapper, ['assembleDebug'], {
cwd: androidDir,
stdio: 'inherit',
shell: process.platform === 'win32'
});
if (result.error) {
console.error(`Could not start the Android Gradle wrapper: ${result.error.message}`);
process.exitCode = 1;
} else {
process.exitCode = result.status ?? 1;
}