mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-21 13:38:56 +02:00
21 lines
615 B
Swift
21 lines
615 B
Swift
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import Foundation
|
|
import Cocoa
|
|
|
|
class Globals {
|
|
static let ProductVersion = 70000
|
|
static let WhatsNewVersion = 70000
|
|
|
|
static var currentWhatsNewVersion: Int {
|
|
get { return UserDefaults.standard.integer(forKey: "whatsNewVersion") }
|
|
set { UserDefaults.standard.setValue(newValue, forKey: "whatsNewVersion") }
|
|
}
|
|
|
|
static func openGetCloudServerUrl() {
|
|
let url = URL(string: "https://mattermost.com/sign-up/?utm_source=focalboard&utm_campaign=focalboardapp")!
|
|
NSWorkspace.shared.open(url)
|
|
}
|
|
}
|