mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 19:36:24 +02:00
Add Show MeloNX folder
This commit is contained in:
parent
63427eb744
commit
1662bcbc96
3 changed files with 15 additions and 7 deletions
Binary file not shown.
|
@ -14,8 +14,8 @@
|
||||||
filePath = "MeloNX/Views/GamesList/GameListView.swift"
|
filePath = "MeloNX/Views/GamesList/GameListView.swift"
|
||||||
startingColumnNumber = "9223372036854775807"
|
startingColumnNumber = "9223372036854775807"
|
||||||
endingColumnNumber = "9223372036854775807"
|
endingColumnNumber = "9223372036854775807"
|
||||||
startingLineNumber = "256"
|
startingLineNumber = "264"
|
||||||
endingLineNumber = "256"
|
endingLineNumber = "264"
|
||||||
landmarkName = "loadGames()"
|
landmarkName = "loadGames()"
|
||||||
landmarkType = "7">
|
landmarkType = "7">
|
||||||
</BreakpointContent>
|
</BreakpointContent>
|
||||||
|
|
|
@ -116,11 +116,8 @@ struct GameLibraryView: View {
|
||||||
ToolbarItem(placement: .topBarLeading) {
|
ToolbarItem(placement: .topBarLeading) {
|
||||||
Menu {
|
Menu {
|
||||||
|
|
||||||
Button {
|
|
||||||
} label: {
|
|
||||||
Text("Firmware Version: \(firmwareversion)")
|
Text("Firmware Version: \(firmwareversion)")
|
||||||
.tint(.white)
|
.tint(.white)
|
||||||
}
|
|
||||||
|
|
||||||
if firmwareversion == "0" {
|
if firmwareversion == "0" {
|
||||||
Button {
|
Button {
|
||||||
|
@ -138,6 +135,17 @@ struct GameLibraryView: View {
|
||||||
Text("Remove Firmware")
|
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: {
|
} label: {
|
||||||
Image(systemName: "plus")
|
Image(systemName: "plus")
|
||||||
.foregroundColor(.blue)
|
.foregroundColor(.blue)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue