mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 11:13:28 +01:00
Compare commits
4 Commits
639753149f
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fabe093b1d | ||
|
|
e1550811eb | ||
|
|
8730ae42c6 | ||
|
|
7d7a44bc61 |
@@ -140,12 +140,10 @@ final class LaunchViewController: UIViewController, UIDocumentPickerDelegate {
|
|||||||
_ = file.startAccessingSecurityScopedResource()
|
_ = file.startAccessingSecurityScopedResource()
|
||||||
defer { file.stopAccessingSecurityScopedResource() }
|
defer { file.stopAccessingSecurityScopedResource() }
|
||||||
guard let accountD = try? Data(contentsOf: file) else {
|
guard let accountD = try? Data(contentsOf: file) else {
|
||||||
let toastView = ToastView(text: NSLocalizedString("Could not read data from file!", comment: ""), detailText: "\(file)")
|
return Logger.main.notice("Could not parse data from file \(file)")
|
||||||
return toastView.show(in: self)
|
|
||||||
}
|
}
|
||||||
guard let account = try? Foundation.JSONDecoder().decode(ImportedAccount.self, from: accountD) else {
|
guard let account = try? Foundation.JSONDecoder().decode(ImportedAccount.self, from: accountD) else {
|
||||||
let toastView = ToastView(text: NSLocalizedString("Could not parse data from file!", comment: ""), detailText: "\(file)")
|
return Logger.main.notice("Could not parse data from file \(file)")
|
||||||
return toastView.show(in: self)
|
|
||||||
}
|
}
|
||||||
print("We want to import this account probably: \(account)")
|
print("We want to import this account probably: \(account)")
|
||||||
if remove {
|
if remove {
|
||||||
|
|||||||
@@ -267,12 +267,10 @@ final class SettingsViewController: UITableViewController
|
|||||||
_ = file.startAccessingSecurityScopedResource()
|
_ = file.startAccessingSecurityScopedResource()
|
||||||
defer { file.stopAccessingSecurityScopedResource() }
|
defer { file.stopAccessingSecurityScopedResource() }
|
||||||
guard let accountD = try? Data(contentsOf: file) else {
|
guard let accountD = try? Data(contentsOf: file) else {
|
||||||
let toastView = ToastView(text: NSLocalizedString("Could not read data from file!", comment: ""), detailText: "\(file)")
|
return Logger.main.notice("Could not parse data from file \(file)")
|
||||||
return toastView.show(in: self)
|
|
||||||
}
|
}
|
||||||
guard let account = try? Foundation.JSONDecoder().decode(ImportedAccount.self, from: accountD) else {
|
guard let account = try? Foundation.JSONDecoder().decode(ImportedAccount.self, from: accountD) else {
|
||||||
let toastView = ToastView(text: NSLocalizedString("Could not parse data from file!", comment: ""), detailText: "\(file)")
|
return Logger.main.notice("Could not parse data from file \(file)")
|
||||||
return toastView.show(in: self)
|
|
||||||
}
|
}
|
||||||
print("We want to import this account probably: \(account)")
|
print("We want to import this account probably: \(account)")
|
||||||
if remove {
|
if remove {
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
"identifier": "com.stossy11.MeloNX",
|
"identifier": "com.stossy11.MeloNX",
|
||||||
"sourceURL": "https://git.ryujinx.app/melonx/emu/-/raw/XC-ios-ht/source.json"
|
"sourceURL": "https://git.ryujinx.app/melonx/emu/-/raw/XC-ios-ht/source.json"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"identifier": "com.chachirie.source",
|
||||||
|
"sourceURL": "https://github.com/chachillie/Flycast-iOS/raw/refs/heads/main/flycast-ios.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"identifier": "org.geode-sdk.altsource",
|
||||||
|
"sourceURL": "https://ios-repo.geode-sdk.org/altsource/main.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"identifier": "com.sbuga.retrosekai",
|
||||||
|
"sourceURL": "https://repo.untitledcharts.com"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"identifier": "org.provenance-emu.provenance",
|
"identifier": "org.provenance-emu.provenance",
|
||||||
"sourceURL": "https://provenance-emu.com/apps.json"
|
"sourceURL": "https://provenance-emu.com/apps.json"
|
||||||
@@ -89,6 +101,14 @@
|
|||||||
"identifier": "com.stossy11.MeloNX",
|
"identifier": "com.stossy11.MeloNX",
|
||||||
"sourceURL": "https://git.ryujinx.app/melonx/emu/-/raw/XC-ios-ht/source.json"
|
"sourceURL": "https://git.ryujinx.app/melonx/emu/-/raw/XC-ios-ht/source.json"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"identifier": "com.chachirie.source",
|
||||||
|
"sourceURL": "https://github.com/chachillie/Flycast-iOS/raw/refs/heads/main/flycast-ios.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"identifier": "org.geode-sdk.altsource",
|
||||||
|
"sourceURL": "https://ios-repo.geode-sdk.org/altsource/main.json"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"identifier": "org.provenance-emu.provenance",
|
"identifier": "org.provenance-emu.provenance",
|
||||||
"sourceURL": "https://provenance-emu.com/apps.json"
|
"sourceURL": "https://provenance-emu.com/apps.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user