Add icon, shorten long line
This commit is contained in:
parent
e6c605d7d7
commit
28a5d34002
@ -2,6 +2,6 @@
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:dotBeatBar_old.xcodeproj">
|
||||
location = "self:">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
|
@ -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:
|
||||
|
@ -46,8 +46,9 @@
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "mac",
|
||||
"size" : "512x512",
|
||||
"idiom" : "mac",
|
||||
"filename" : "dotBeatBar.png",
|
||||
"scale" : "2x"
|
||||
}
|
||||
],
|
||||
|
BIN
dotBeatBar_old/Assets.xcassets/AppIcon.appiconset/dotBeatBar.png
Normal file
BIN
dotBeatBar_old/Assets.xcassets/AppIcon.appiconset/dotBeatBar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
@ -2,5 +2,8 @@
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"properties" : {
|
||||
"compression-type" : "automatic"
|
||||
}
|
||||
}
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user