Skip to content

Commit f88aefb

Browse files
committed
Update app version and copyright in Info.plist; refine About view title
1 parent c44b48c commit f88aefb

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

Flitro.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,12 @@
414414
ENABLE_PREVIEWS = YES;
415415
GENERATE_INFOPLIST_FILE = YES;
416416
INFOPLIST_KEY_NSAppleEventsUsageDescription = "Flitro needs to control external applications to run automation in your contexts.";
417-
INFOPLIST_KEY_NSHumanReadableCopyright = "";
417+
INFOPLIST_KEY_NSHumanReadableCopyright = "© 2025 Frederic Lavigne";
418418
LD_RUNPATH_SEARCH_PATHS = (
419419
"$(inherited)",
420420
"@executable_path/../Frameworks",
421421
);
422-
MARKETING_VERSION = 1.0;
422+
MARKETING_VERSION = 0.1;
423423
PRODUCT_BUNDLE_IDENTIFIER = com.l2fprod.Flitro;
424424
PRODUCT_NAME = "$(TARGET_NAME)";
425425
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -445,12 +445,12 @@
445445
ENABLE_PREVIEWS = YES;
446446
GENERATE_INFOPLIST_FILE = YES;
447447
INFOPLIST_KEY_NSAppleEventsUsageDescription = "Flitro needs to control external applications to run automation in your contexts.";
448-
INFOPLIST_KEY_NSHumanReadableCopyright = "";
448+
INFOPLIST_KEY_NSHumanReadableCopyright = "© 2025 Frederic Lavigne";
449449
LD_RUNPATH_SEARCH_PATHS = (
450450
"$(inherited)",
451451
"@executable_path/../Frameworks",
452452
);
453-
MARKETING_VERSION = 1.0;
453+
MARKETING_VERSION = 0.1;
454454
PRODUCT_BUNDLE_IDENTIFIER = com.l2fprod.Flitro;
455455
PRODUCT_NAME = "$(TARGET_NAME)";
456456
PROVISIONING_PROFILE_SPECIFIER = "";

Flitro/AboutView.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ struct AboutView: View {
8181
.clipShape(RoundedRectangle(cornerRadius: 16))
8282
.shadow(color: Color.pink.opacity(0.2), radius: 8, x: 0, y: 4)
8383
.padding(.top, 8)
84+
// App version and copyright
85+
VStack(spacing: 4) {
86+
Text("Version " + (Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "-"))
87+
.font(.footnote)
88+
.foregroundColor(.white.opacity(0.7))
89+
Text(Bundle.main.infoDictionary?["NSHumanReadableCopyright"] as? String ?? "")
90+
.font(.footnote)
91+
.foregroundColor(.white.opacity(0.5))
92+
}
93+
.padding(.top, 12)
8494
}
8595
}
8696
}

Flitro/FlitroApp.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct FlitroApp: App {
6060
.windowResizability(.contentSize)
6161
.commands {
6262
CommandGroup(replacing: .appInfo) {
63-
Button("About Flitro!") {
63+
Button("About Flitro") {
6464
openWindow(id: "about")
6565
}
6666
}
@@ -72,7 +72,7 @@ struct FlitroApp: App {
7272
Settings {
7373
SettingsView()
7474
}
75-
Window("About Flitro!", id: "about") {
75+
WindowGroup("About Flitro", id: "about") {
7676
AboutView()
7777
.frame(width: 360, height: 600)
7878
}

0 commit comments

Comments
 (0)