mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Minor Update
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
PRODUCT_NAME = eh_downloader_flutter
|
PRODUCT_NAME = eh_downloader_flutter
|
||||||
|
|
||||||
// The application's bundle identifier
|
// The application's bundle identifier
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.ehDownloaderFlutter
|
PRODUCT_BUNDLE_IDENTIFIER = com.lifegpc.ehf
|
||||||
|
|
||||||
// The copyright displayed in application information
|
// The copyright displayed in application information
|
||||||
PRODUCT_COPYRIGHT = Copyright © 2023 com.example. All rights reserved.
|
PRODUCT_COPYRIGHT = Copyright © 2023-2024 lifegpc. All rights reserved.
|
||||||
|
|||||||
@@ -79,6 +79,8 @@ class MainFlutterWindow: NSWindow {
|
|||||||
panel.allowedContentTypes = [typ]
|
panel.allowedContentTypes = [typ]
|
||||||
}
|
}
|
||||||
panel.allowsOtherFileTypes = true
|
panel.allowsOtherFileTypes = true
|
||||||
|
panel.isExtensionHidden = false
|
||||||
|
panel.nameFieldStringValue = fileName + (ext ?? "")
|
||||||
panel.begin { (res) in
|
panel.begin { (res) in
|
||||||
if res == NSApplication.ModalResponse.OK {
|
if res == NSApplication.ModalResponse.OK {
|
||||||
if let fn = panel.url {
|
if let fn = panel.url {
|
||||||
|
|||||||
Reference in New Issue
Block a user