@absolutejs/absolute 0.20.0-beta.100 → 0.20.0-beta.101
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/CHANGELOG.md +7 -0
- package/changelog.json +14 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +5 -5
- package/dist/build.js.map +4 -4
- package/dist/cli/index.js +1 -1
- package/dist/cli/{mobile-qfckt3vc.js → mobile-b1mh7ms3.js} +64 -12
- package/dist/index.js +5 -5
- package/dist/index.js.map +4 -4
- package/dist/mobile/index.js +20 -6
- package/dist/mobile/index.js.map +3 -3
- package/dist/mobile/remoteMacAgentEntry.js +187 -187
- package/dist/src/mobile/releaseDoctor.d.ts +5 -0
- package/package.json +2 -1
package/dist/mobile/index.js
CHANGED
|
@@ -24719,6 +24719,14 @@ var signAab = (artifactPath, capture, jarsigner, signing) => {
|
|
|
24719
24719
|
if (result.exitCode !== 0)
|
|
24720
24720
|
throw new TypeError("jarsigner could not sign the Android App Bundle with the configured CI identity.");
|
|
24721
24721
|
};
|
|
24722
|
+
var windowsJarsignerPath = (path, capture) => {
|
|
24723
|
+
const result = capture(["wslpath", "-w", path]);
|
|
24724
|
+
const translated = result.stdout.trim();
|
|
24725
|
+
if (result.exitCode !== 0 || !translated) {
|
|
24726
|
+
throw new TypeError(`Could not translate an Android signing path for the Windows JDK: ${path}`);
|
|
24727
|
+
}
|
|
24728
|
+
return translated;
|
|
24729
|
+
};
|
|
24722
24730
|
var sha256File = async (path) => createHash4("sha256").update(await readFile5(path)).digest("hex");
|
|
24723
24731
|
var fingerprintExpoAndroidProject = async (nativeDirectory) => {
|
|
24724
24732
|
const root = await realpath2(nativeDirectory);
|
|
@@ -24836,13 +24844,19 @@ var buildAbsoluteAndroidRelease = async (options) => {
|
|
|
24836
24844
|
throw new TypeError(`Android Gradle did not produce the expected App Bundle: ${artifactPath}`);
|
|
24837
24845
|
}
|
|
24838
24846
|
const capture = options.capture ?? defaultCapture;
|
|
24839
|
-
const jarsigner = options.jarsigner === undefined ? Bun.which("jarsigner") : options.jarsigner;
|
|
24840
|
-
|
|
24841
|
-
|
|
24847
|
+
const jarsigner = options.jarsigner === undefined ? Bun.which("jarsigner") ?? (host === "wsl" || host === "windows" ? Bun.which("jarsigner.exe") : null) : options.jarsigner;
|
|
24848
|
+
const usesWindowsJarsigner = host === "wsl" && jarsigner?.toLowerCase().endsWith(".exe");
|
|
24849
|
+
const signerArtifactPath = usesWindowsJarsigner ? windowsJarsignerPath(artifactPath, capture) : artifactPath;
|
|
24850
|
+
const signing = usesWindowsJarsigner && options.signing ? {
|
|
24851
|
+
...options.signing,
|
|
24852
|
+
keystorePath: windowsJarsignerPath(options.signing.keystorePath, capture)
|
|
24853
|
+
} : options.signing;
|
|
24854
|
+
let signed = verifyAabSignature(signerArtifactPath, capture, jarsigner);
|
|
24855
|
+
if (signed === false && signing) {
|
|
24842
24856
|
if (!jarsigner)
|
|
24843
24857
|
throw new TypeError("Could not sign the Android App Bundle because jarsigner is unavailable.");
|
|
24844
|
-
signAab(
|
|
24845
|
-
signed = verifyAabSignature(
|
|
24858
|
+
signAab(signerArtifactPath, capture, jarsigner, signing);
|
|
24859
|
+
signed = verifyAabSignature(signerArtifactPath, capture, jarsigner);
|
|
24846
24860
|
if (!signed)
|
|
24847
24861
|
throw new TypeError("Android App Bundle signature verification failed after CI signing.");
|
|
24848
24862
|
}
|
|
@@ -41205,5 +41219,5 @@ export {
|
|
|
41205
41219
|
writeAbsoluteMobileUpdateRegistry
|
|
41206
41220
|
};
|
|
41207
41221
|
|
|
41208
|
-
//# debugId=
|
|
41222
|
+
//# debugId=E20E65274897005764756E2164756E21
|
|
41209
41223
|
//# sourceMappingURL=index.js.map
|