Skip to content

Commit 4aefa74

Browse files
deadlyjackAjit KumarRohitKushvaha01
authored
feat(sponsor) (#1496)
* feat(sponsor) * chore(update .gitignore, removed ignored files) * Update id-id.json * fix: lint * fix(theme, browser activity, sponsor) * chore(Review changes from copilot) * fix(removed hardcoded color, fix prompt input autocapitalize) * fix(fonts not loading, minor fixes) * fix(changelogs, fix sponsors) * fix(click handler, ui) * fix(sidebar apps ui) --------- Co-authored-by: Ajit Kumar <dellevenjack@gmail> Co-authored-by: RohitKushvaha01 <oldisg131@gmail.com>
1 parent 44053cd commit 4aefa74

File tree

118 files changed

+3587
-2639
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+3587
-2639
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/node_modules
22
/build.json
3-
/www/js/build
4-
/www/css/build
3+
/www/build
54
/plugins
65
/platforms
76
/keystore.jks

biome.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.1.1/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.1.4/schema.json",
33
"formatter": {
44
"enabled": true,
55
"indentStyle": "tab"
66
},
7-
"assist": { "actions": { "source": { "organizeImports": "on" } } },
7+
"assist": {
8+
"actions": {
9+
"source": {
10+
"organizeImports": "on"
11+
}
12+
}
13+
},
814
"linter": {
915
"enabled": true,
1016
"rules": {
@@ -35,12 +41,10 @@
3541
"includes": [
3642
"**/src/**/*",
3743
"**/utils/**/*.js",
38-
"**/www/**/*.js",
44+
"!**/www/build/**/*",
3945
"**/www/res/**/*.css",
4046
"**/src/plugins/terminal/**",
4147
"!**/ace-builds",
42-
"!**/www/js/**/*.js",
43-
"!**/www/css/**/*.css",
4448
"!**/src/plugins/**/*",
4549
"!**/plugins/**/*",
4650
"!**/hooks/**/*",

hooks/post-process.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,14 @@ function patchTargetSdkVersion() {
4848
const sdkRegex = /targetSdkVersion\s+(cordovaConfig\.SDK_VERSION|\d+)/;
4949

5050
if (sdkRegex.test(content)) {
51-
const fdroid = fs.readFileSync(path.join(prefix,'fdroid.bool'), 'utf-8').trim();
52-
var api = "35"
53-
if(fdroid == "true"){
54-
api = "28"
51+
let api = "35"
52+
const froidFlag = path.join(prefix, 'fdroid.bool');
53+
54+
if(fs.existsSync(froidFlag)){
55+
const fdroid = fs.readFileSync(froidFlag, 'utf-8').trim();
56+
if(fdroid == "true"){
57+
api = "28"
58+
}
5559
}
5660

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

0 commit comments

Comments
 (0)