codeplay-common 4.11.19 → 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 +10 -0
- 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
|
|