Skip to content

Commit 31e5277

Browse files
fix: cancel build if fdroid.bool file not found
1 parent f1a815e commit 31e5277

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

hooks/post-process.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ function patchTargetSdkVersion() {
7777
if (fdroid == "true") {
7878
api = "28";
7979
}
80+
} else {
81+
console.error(`${getTmpDir()}/fdroid.bool not found`);
82+
process.exit(1);
8083
}
8184

8285
content = content.replace(sdkRegex, 'targetSdkVersion ' + api);

0 commit comments

Comments
 (0)