Files
location-spoofer/Shared/GitHubSubmission.swift
T

42 lines
1.4 KiB
Swift

import Foundation
enum GitHubSubmission {
static let communityContributionURL = URL(
string: "https://github.com/xweiba/location-spoofer/discussions/new?category=%E7%AC%AC%E4%B8%89%E6%96%B9%E9%85%8D%E7%BD%AE%E5%88%86%E4%BA%AB"
)!
static let usageHelpURL = URL(
string: "https://github.com/xweiba/location-spoofer/discussions/categories/%E4%BD%BF%E7%94%A8%E5%B8%AE%E5%8A%A9"
)!
static let featureRequestURL = URL(
string: "https://github.com/xweiba/location-spoofer/discussions/categories/%E5%8A%9F%E8%83%BD%E5%BB%BA%E8%AE%AE"
)!
static let bugReportURL = URL(
string: "https://github.com/xweiba/location-spoofer/issues/new?template=bug-report.yml"
)!
static func communityContributionTemplate(
for client: ThirdPartyProxyClient,
systemVersion: String
) -> String {
"""
## 第三方客户端
\(client.name)
## 第三方客户端版本
请填写当前使用的第三方客户端版本。
## iOS 版本
iOS \(systemVersion)
## 配置步骤
请描述模块导入、证书或解密设置、代理连接和最终验证过程。
## 截图与补充说明
请附上脱敏原图,并说明每张图片对应的步骤。
## README 收录署名
- [ ] 匿名收录,不在 README 展示投稿账号
"""
}
}