This commit is contained in:
zeng 2025-11-06 14:32:05 +08:00
parent 842dc90aeb
commit 44c5d9045c

View File

@ -73,7 +73,7 @@ class APInAppPurchseVC: NSViewController {
let currentDate = dateFormatter.string(from: Date())
let mySave = NSSavePanel()
mySave.allowedFileTypes = ["csv"]
mySave.nameFieldStringValue = "内购列表" + currentDate + currentApp!.appName.replacingOccurrences(of: " ", with: "-")
mySave.nameFieldStringValue = currentApp!.appName.replacingOccurrences(of: " ", with: "-") + "内购列表" + currentDate
mySave.begin { (result) -> Void in
if result == .OK {
let filePath = mySave.url