From 1d030a955050dca556a6bfc02996243c72bc60ca Mon Sep 17 00:00:00 2001 From: Magesh K <47920326+mahee96@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:00:04 +0530 Subject: [PATCH] [trusted-sources]: Fix: updated trustedsources.json to match that of altstore 2.0 format --- AltStore/Operations/UpdateKnownSourcesOperation.swift | 7 +++++-- trustedapps.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/AltStore/Operations/UpdateKnownSourcesOperation.swift b/AltStore/Operations/UpdateKnownSourcesOperation.swift index 95049eb1..2302066b 100644 --- a/AltStore/Operations/UpdateKnownSourcesOperation.swift +++ b/AltStore/Operations/UpdateKnownSourcesOperation.swift @@ -12,10 +12,13 @@ import AltStoreCore private extension URL { + // @mahee96: update this to a non-branch specific (prod-ready) location like github.io repo similar to anisette servers URL list #if STAGING - static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/develop/trustedapps.json")! +// static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/develop/trustedapps.json")! + static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/rebase-2.0-wip/trustedapps.json")! #else - static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/develop/trustedapps.json")! +// static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/develop/trustedapps.json")! + static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/rebase-2.0-wip/trustedapps.json")! #endif } diff --git a/trustedapps.json b/trustedapps.json index 55317da1..608c628c 100644 --- a/trustedapps.json +++ b/trustedapps.json @@ -1,6 +1,6 @@ { "version": 1, - "sources": [ + "trusted": [ { "identifier": "io.sidestore.example" },