1
This commit is contained in:
parent
842dc90aeb
commit
44c5d9045c
@ -73,7 +73,7 @@ class APInAppPurchseVC: NSViewController {
|
|||||||
let currentDate = dateFormatter.string(from: Date())
|
let currentDate = dateFormatter.string(from: Date())
|
||||||
let mySave = NSSavePanel()
|
let mySave = NSSavePanel()
|
||||||
mySave.allowedFileTypes = ["csv"]
|
mySave.allowedFileTypes = ["csv"]
|
||||||
mySave.nameFieldStringValue = "内购列表" + currentDate + currentApp!.appName.replacingOccurrences(of: " ", with: "-")
|
mySave.nameFieldStringValue = currentApp!.appName.replacingOccurrences(of: " ", with: "-") + "内购列表" + currentDate
|
||||||
mySave.begin { (result) -> Void in
|
mySave.begin { (result) -> Void in
|
||||||
if result == .OK {
|
if result == .OK {
|
||||||
let filePath = mySave.url
|
let filePath = mySave.url
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user