Merge GitHub URLs
This commit is contained in:
parent
c02c6de493
commit
9a360c3acf
|
@ -209,7 +209,7 @@ extension AboutViewController {
|
|||
showCredits()
|
||||
|
||||
case .readme:
|
||||
visitURL(AppConstants.URLs.iOS.readme)
|
||||
visitURL(AppConstants.URLs.readme)
|
||||
|
||||
case .changelog:
|
||||
visitURL(AppConstants.URLs.iOS.changelog)
|
||||
|
|
|
@ -14,8 +14,8 @@ body {
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<a href="https://github.com/passepartoutvpn/passepartout-macos/blob/master/README.md">README</a> ·
|
||||
<a href="https://github.com/passepartoutvpn/passepartout-macos/blob/master/CHANGELOG.md">CHANGELOG</a> ·
|
||||
<a href="https://github.com/passepartoutvpn/passepartout-apple/blob/master/README.md">README</a> ·
|
||||
<a href="https://github.com/passepartoutvpn/passepartout-apple/blob/master/Passepartout/App/macOS/CHANGELOG.md">CHANGELOG</a> ·
|
||||
<a href="https://passepartoutvpn.app/faq/">FAQ</a>
|
||||
<hr />
|
||||
<a href="https://passepartoutvpn.app/disclaimer/">Disclaimer</a> ·
|
||||
|
|
|
@ -177,16 +177,14 @@ public class AppConstants {
|
|||
}
|
||||
|
||||
public class URLs {
|
||||
public class iOS {
|
||||
public static let readme = Repos.ios.appendingPathComponent("blob/master/README.md")
|
||||
public static let readme = Repos.apple.appendingPathComponent("blob/master/README.md")
|
||||
|
||||
public static let changelog = Repos.ios.appendingPathComponent("blob/master/CHANGELOG.md")
|
||||
public class iOS {
|
||||
public static let changelog = Repos.apple.appendingPathComponent("blob/master/Passepartout/App/iOS/CHANGELOG.md")
|
||||
}
|
||||
|
||||
public class macOS {
|
||||
public static let readme = Repos.macos.appendingPathComponent("blob/master/README.md")
|
||||
|
||||
public static let changelog = Repos.macos.appendingPathComponent("blob/master/CHANGELOG.md")
|
||||
public static let changelog = Repos.apple.appendingPathComponent("blob/master/Passepartout/App/macOS/CHANGELOG.md")
|
||||
}
|
||||
|
||||
public static let filetypes = ["public.content", "public.data"]
|
||||
|
@ -265,9 +263,7 @@ public class AppConstants {
|
|||
return githubRawRoot.appendingPathComponent(repo)
|
||||
}
|
||||
|
||||
public static let ios = github(repo: "passepartout-ios")
|
||||
|
||||
public static let macos = github(repo: "passepartout-macos")
|
||||
public static let apple = github(repo: "passepartout-apple")
|
||||
|
||||
public static let api = githubRaw(repo: "api")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue