commit ae7e996e35301e0daf31ec67608f9968f4867bfb
parent fe6dca8a2e39d5af0e8b0a91d915b922cbd42980
Author: Michael Camilleri <[email protected]>
Date: Sat, 11 Apr 2026 23:30:02 +0900
Remove help menu
Diffstat:
3 files changed, 20 insertions(+), 33 deletions(-)
diff --git a/Listless.xcodeproj/xcshareddata/xcschemes/Listless macOS.xcscheme b/Listless.xcodeproj/xcshareddata/xcschemes/Listless macOS.xcscheme
@@ -4,8 +4,7 @@
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES"
- runPostActionsOnFailure = "NO">
+ buildImplicitDependencies = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
@@ -16,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0FB4F07A37999BBC6DFE4DBB"
- BuildableName = "Listless macOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless macOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
@@ -34,7 +33,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0FB4F07A37999BBC6DFE4DBB"
- BuildableName = "Listless macOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless macOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
@@ -45,13 +44,12 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES"
- onlyGenerateCoverageForSpecifiedTargets = "NO">
+ shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0FB4F07A37999BBC6DFE4DBB"
- BuildableName = "Listless macOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless macOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
@@ -82,8 +80,6 @@
</BuildableReference>
</TestableReference>
</Testables>
- <CommandLineArguments>
- </CommandLineArguments>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
@@ -100,13 +96,11 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0FB4F07A37999BBC6DFE4DBB"
- BuildableName = "Listless macOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless macOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
- <CommandLineArguments>
- </CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
@@ -119,13 +113,11 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0FB4F07A37999BBC6DFE4DBB"
- BuildableName = "Listless macOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless macOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
- <CommandLineArguments>
- </CommandLineArguments>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
diff --git a/Listless.xcodeproj/xcshareddata/xcschemes/Listless watchOS.xcscheme b/Listless.xcodeproj/xcshareddata/xcschemes/Listless watchOS.xcscheme
@@ -4,8 +4,7 @@
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES"
- runPostActionsOnFailure = "NO">
+ buildImplicitDependencies = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
@@ -16,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BDC1B2175AB9CE26790448D"
- BuildableName = "Listless watchOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless watchOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
@@ -34,7 +33,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BDC1B2175AB9CE26790448D"
- BuildableName = "Listless watchOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless watchOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
@@ -45,21 +44,19 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES"
- onlyGenerateCoverageForSpecifiedTargets = "NO">
+ shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BDC1B2175AB9CE26790448D"
- BuildableName = "Listless watchOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless watchOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
- skipped = "NO"
- parallelizable = "NO">
+ skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FAC694EFB69F0D9F12557137"
@@ -69,8 +66,6 @@
</BuildableReference>
</TestableReference>
</Testables>
- <CommandLineArguments>
- </CommandLineArguments>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
@@ -87,13 +82,11 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BDC1B2175AB9CE26790448D"
- BuildableName = "Listless watchOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless watchOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
- <CommandLineArguments>
- </CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
@@ -106,13 +99,11 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9BDC1B2175AB9CE26790448D"
- BuildableName = "Listless watchOS.app"
+ BuildableName = "Listless.app"
BlueprintName = "Listless watchOS"
ReferencedContainer = "container:Listless.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
- <CommandLineArguments>
- </CommandLineArguments>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
diff --git a/ListlessMac/ListlessMacApp.swift b/ListlessMac/ListlessMacApp.swift
@@ -168,6 +168,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuItemValidation {
openSyncDiagnosticsWindow()
}
+ @objc private func handleContactSupport() {
+ NSWorkspace.shared.open(URL(string: "mailto:[email protected]?subject=Listless%20Support")!)
+ }
+
@objc private func handleAppearanceSystem() { setAppearanceMode(0) }
@objc private func handleAppearanceLight() { setAppearanceMode(1) }
@objc private func handleAppearanceDark() { setAppearanceMode(2) }
@@ -434,7 +438,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuItemValidation {
NSApp.windowsMenu = windowMenu
let helpMenu = NSMenu(title: "Help")
- helpMenu.addItem(withTitle: "\(appName) Help", action: #selector(NSApplication.showHelp(_:)), keyEquivalent: "?")
+ helpMenu.addItem(withTitle: "Contact Support", action: #selector(handleContactSupport), keyEquivalent: "")
let helpMenuItem = NSMenuItem(title: "Help", action: nil, keyEquivalent: "")
helpMenuItem.submenu = helpMenu
mainMenu.addItem(helpMenuItem)