mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 16:42:01 +00:00
fxied version chwcekr
Some checks are pending
Build and Release IPA / Build IPA and Mac Catalyst (push) Waiting to run
Some checks are pending
Build and Release IPA / Build IPA and Mac Catalyst (push) Waiting to run
This commit is contained in:
parent
08d67c00fa
commit
d9a5fd68ef
2 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ struct ContentView: View {
|
|||
guard let release = release else { return }
|
||||
|
||||
let latestVersion = release.tagName
|
||||
let currentVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "1.0.0"
|
||||
let currentVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "0.1.1"
|
||||
|
||||
if latestVersion.compare(currentVersion, options: .numeric) == .orderedDescending {
|
||||
DispatchQueue.main.async {
|
||||
|
|
|
|||
Loading…
Reference in a new issue