codeplay-common 4.11.18 → 4.11.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/files/finalrelease +16 -2
- package/package.json +1 -1
package/files/finalrelease
CHANGED
|
@@ -739,6 +739,16 @@ if (storeIdArg) {
|
|
|
739
739
|
storeIds = ["3"]; // Only MiStore
|
|
740
740
|
} */
|
|
741
741
|
|
|
742
|
+
// APK Extractor and App Uninstaller must never produce Amazon artifacts.
|
|
743
|
+
if (['19', '158'].includes(String(_appUniqueId)) && storeIds.includes('7')) {
|
|
744
|
+
console.warn(`⛔ Amazon build blocked for app ${_appUniqueId} (${_appName}): APK extractor and app uninstaller apps are not supported for Amazon distribution.`);
|
|
745
|
+
storeIds = storeIds.filter(id => id !== '7');
|
|
746
|
+
if (storeIds.length === 0) {
|
|
747
|
+
console.error('❌ No eligible stores remain. No AAB/APK files were generated.');
|
|
748
|
+
process.exit(1);
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
|
|
742
752
|
// Store the original minSdkVersion globally
|
|
743
753
|
let originalMinSdkVersion;
|
|
744
754
|
|
|
@@ -1059,8 +1069,12 @@ rl.question('Enter new versionCode (press enter to keep current): ', (newVersion
|
|
|
1059
1069
|
// Conditionally set the new file name
|
|
1060
1070
|
let newFileName;
|
|
1061
1071
|
let storeName = storeNames[id];
|
|
1062
|
-
//
|
|
1063
|
-
const storeVersionCode =
|
|
1072
|
+
// These packages require the higher Amazon version-code range.
|
|
1073
|
+
const storeVersionCode = [
|
|
1074
|
+
'computer.shortcut.keys.app',
|
|
1075
|
+
'tamil.vidukathai.riddles.game',
|
|
1076
|
+
'tamiljokes.vidukathai.thathuvam',
|
|
1077
|
+
].includes(_appPackageId) && String(id) === '7'
|
|
1064
1078
|
? String(10000 + Number(finalVersionCode))
|
|
1065
1079
|
: finalVersionCode;
|
|
1066
1080
|
|