forked from MeloNX/MeloNX
Add Show MeloNX folder
This commit is contained in:
parent
63427eb744
commit
1662bcbc96
Binary file not shown.
@ -14,8 +14,8 @@
|
||||
filePath = "MeloNX/Views/GamesList/GameListView.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "256"
|
||||
endingLineNumber = "256"
|
||||
startingLineNumber = "264"
|
||||
endingLineNumber = "264"
|
||||
landmarkName = "loadGames()"
|
||||
landmarkType = "7">
|
||||
</BreakpointContent>
|
||||
|
@ -116,11 +116,8 @@ struct GameLibraryView: View {
|
||||
ToolbarItem(placement: .topBarLeading) {
|
||||
Menu {
|
||||
|
||||
Button {
|
||||
} label: {
|
||||
Text("Firmware Version: \(firmwareversion)")
|
||||
.tint(.white)
|
||||
}
|
||||
Text("Firmware Version: \(firmwareversion)")
|
||||
.tint(.white)
|
||||
|
||||
if firmwareversion == "0" {
|
||||
Button {
|
||||
@ -138,6 +135,17 @@ struct GameLibraryView: View {
|
||||
Text("Remove Firmware")
|
||||
}
|
||||
}
|
||||
|
||||
Button {
|
||||
let documentsUrl = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first!
|
||||
let sharedurl = documentsUrl.absoluteString.replacingOccurrences(of: "file://", with: "shareddocuments://")
|
||||
let furl = URL(string: sharedurl)!
|
||||
if UIApplication.shared.canOpenURL(furl) {
|
||||
UIApplication.shared.open(furl, options: [:])
|
||||
}
|
||||
} label: {
|
||||
Text("Show MeloNX Folder")
|
||||
}
|
||||
} label: {
|
||||
Image(systemName: "plus")
|
||||
.foregroundColor(.blue)
|
||||
|
Loading…
x
Reference in New Issue
Block a user