mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Supports JSON5 for sources
This commit is contained in:
@@ -122,6 +122,11 @@ final class FetchSourceOperation: ResultOperation<Source>
|
|||||||
decoder.managedObjectContext = childContext
|
decoder.managedObjectContext = childContext
|
||||||
decoder.sourceURL = self.sourceURL
|
decoder.sourceURL = self.sourceURL
|
||||||
|
|
||||||
|
if #available(iOS 15, *)
|
||||||
|
{
|
||||||
|
decoder.allowsJSON5 = true
|
||||||
|
}
|
||||||
|
|
||||||
let source: Source
|
let source: Source
|
||||||
|
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user