pushdeer/ios/PushDeer-iOS/PushDeer/Env.swift
hext 3f61db008f 去掉自己的长按手势弹复制菜单, 使用系统的
针对自建 SelfHosted 版创建单独的 Info.plist 文件; SelfHosted 版本去掉 Schemes 配置
设置添加查看官网入口
2022-03-02 13:06:19 +08:00

32 lines
801 B
Swift

//
// Env.swift
// PushDeer
//
// Created by HEXT on 2022/1/30.
//
import Foundation
/// APP
struct Env {
/// , true, 线 false
static let isSelfHosted: Bool = {
#if SELFHOSTED
return true
#else
return false
#endif
}()
/// 线 Api Endpoint
static let onlineApiEndpoint = "https://api2.pushdeer.com"
/// AppStore appId, : 1608017631; 线: 1596771139
static let appStoreId = isSelfHosted ? 1608017631 : 1596771139
/// ID
static let wxAppid = "wx3ae07931d0555a24"
/// Universal Link
static let wxUniversalLink = "https://vip.pushdeer.com/app/"
/// PushDeer
static let officialWebsite = "https://www.pushdeer.com"
}