Skip to content

Commit

Permalink
Hide Preferences dialog when the app starts.
Browse files Browse the repository at this point in the history
  • Loading branch information
taggon committed Jul 14, 2017
1 parent e735c89 commit 6e6a1eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Highlight/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ class AppDelegate: NSObject, NSApplicationDelegate, UserSettings {
// Save the current font for comparison
currentFont = userFont

prefWindowController.showWindow(self)
#if DEBUG
prefWindowController.showWindow(self)
#endif
}

func applicationWillTerminate(_ aNotification: Notification) {
Expand Down
4 changes: 2 additions & 2 deletions Highlight/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.4.0</string>
<string>1.4.1</string>
<key>CFBundleVersion</key>
<string>170712.1</string>
<string>170714.1</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSMinimumSystemVersion</key>
Expand Down

0 comments on commit 6e6a1eb

Please sign in to comment.