From b42d5169b80676eb0e5e2f3335e45422f7e38ea8 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Tue, 23 Jan 2024 20:46:19 +0800 Subject: [PATCH] Minor Update --- macos/Runner/Configs/AppInfo.xcconfig | 4 ++-- macos/Runner/MainFlutterWindow.swift | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/macos/Runner/Configs/AppInfo.xcconfig b/macos/Runner/Configs/AppInfo.xcconfig index b6b3b74..08e2ea4 100644 --- a/macos/Runner/Configs/AppInfo.xcconfig +++ b/macos/Runner/Configs/AppInfo.xcconfig @@ -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. diff --git a/macos/Runner/MainFlutterWindow.swift b/macos/Runner/MainFlutterWindow.swift index 73caf98..737efab 100644 --- a/macos/Runner/MainFlutterWindow.swift +++ b/macos/Runner/MainFlutterWindow.swift @@ -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 {