Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

comment

Kabir Oberai009902ff377f
diff --git a/Supersign/Sources/Supersign/GrandSlam/Anisette/AnisetteData.swift b/Supersign/Sources/Supersign/GrandSlam/Anisette/AnisetteData.swift
index eb7a12f..6ce2975 100644
--- a/Supersign/Sources/Supersign/GrandSlam/Anisette/AnisetteData.swift
+++ b/Supersign/Sources/Supersign/GrandSlam/Anisette/AnisetteData.swift
@@ -53,6 +53,7 @@ public struct AnisetteData {
public var deviceID: String?
var dictionary: [String: String] {
+ // GSA doesn't like "en_US@rg=..."; it has to be just "en_US".
let localeIdentifier = if let language = locale.languageCode, let region = locale.regionCode {
"\(language)_\(region)"
} else {