mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-21 09:31:17 -08:00
fix(ios): publish AltStore/SideStore source manifests from the repo root
This commit is contained in:
6 files changed
+115
-16
No files matched your search
@@ -54,9 +54,9 @@ const entry = {
|
||||
localizedDescription: description ?? `v${version}`,
|
||||
};
|
||||
|
||||
// Replace an existing entry for this version, otherwise prepend as latest.
|
||||
// Replace the existing entry for this version, otherwise prepend as latest.
|
||||
const versions = Array.isArray(app.versions) ? app.versions : [];
|
||||
const idx = versions.findIndex((v) => v.version === version);
|
||||
const idx = versions.findIndex((v) => v.version === normalizedVersion);
|
||||
if (idx >= 0) versions[idx] = entry;
|
||||
else versions.unshift(entry);
|
||||
|
||||
|
||||
Reference in new issue
Block a user