Add icon, shorten long line

This commit is contained in:
Aaron Bieber 2019-07-27 08:49:55 -06:00
parent e6c605d7d7
commit 28a5d34002
6 changed files with 16 additions and 6 deletions

View File

@ -2,6 +2,6 @@
<Workspace
version = "1.0">
<FileRef
location = "self:dotBeatBar_old.xcodeproj">
location = "self:">
</FileRef>
</Workspace>

View File

@ -6,8 +6,8 @@
// Copyright © 2019 Aaron Bieber. All rights reserved.
//
import Cocoa
import Beat
import Cocoa
import Foundation
@NSApplicationMain
@ -21,7 +21,11 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}
func applicationDidFinishLaunching(_ aNotification: Notification) {
updateStatBar(self)
timer = Timer.scheduledTimer(timeInterval: 60, target: self, selector: #selector(updateStatBar), userInfo: nil, repeats: true)
timer = Timer.scheduledTimer(timeInterval: 11,
target: self,
selector: #selector(updateStatBar),
userInfo: nil,
repeats: true)
let menu = NSMenu()
menu.addItem(NSMenuItem(title: "Quit", action:

View File

@ -46,8 +46,9 @@
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "512x512",
"idiom" : "mac",
"filename" : "dotBeatBar.png",
"scale" : "2x"
}
],

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -2,5 +2,8 @@
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"compression-type" : "automatic"
}
}

View File

@ -20,8 +20,12 @@
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.entertainment</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSUIElement</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2019 Aaron Bieber. All rights reserved.</string>
<key>NSMainStoryboardFile</key>
@ -30,8 +34,6 @@
<string>NSApplication</string>
<key>NSSupportsAutomaticTermination</key>
<true/>
<key>LSUIElement</key>
<true/>
<key>NSSupportsSuddenTermination</key>
<true/>
</dict>