Minor Update

This commit is contained in:
2024-01-23 20:46:19 +08:00
parent bf76de0f5a
commit b42d5169b8
2 changed files with 4 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
PRODUCT_NAME = eh_downloader_flutter
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.example.ehDownloaderFlutter
PRODUCT_BUNDLE_IDENTIFIER = com.lifegpc.ehf
// The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2023 com.example. All rights reserved.
PRODUCT_COPYRIGHT = Copyright © 2023-2024 lifegpc. All rights reserved.

View File

@@ -79,6 +79,8 @@ class MainFlutterWindow: NSWindow {
panel.allowedContentTypes = [typ]
}
panel.allowsOtherFileTypes = true
panel.isExtensionHidden = false
panel.nameFieldStringValue = fileName + (ext ?? "")
panel.begin { (res) in
if res == NSApplication.ModalResponse.OK {
if let fn = panel.url {