mirror of
https://github.com/neon443/DockPhobia.git
synced 2026-03-11 06:49:12 +00:00
Sparkle: Auto Updates work YAYYYYYYY
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
**.DS_Store
|
||||
**DockPhobia.dmg
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// Created by neon443 on 26/05/2025.
|
||||
//
|
||||
|
||||
VERSION = 1.0.1
|
||||
BUILD_ID = 2
|
||||
VERSION = 1.2.1
|
||||
BUILD_ID = 3
|
||||
TEAM_ID = 8JGND254B7
|
||||
BUNDLE_ID = com.neon443.DockPhobia
|
||||
|
||||
|
||||
BIN
DockPhobia/.DS_Store
vendored
BIN
DockPhobia/.DS_Store
vendored
Binary file not shown.
@@ -17,8 +17,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
var mouseTracker: MouseTracker
|
||||
let updateController: SPUStandardUpdaterController
|
||||
|
||||
var checkforUpdatesMenuItem: NSMenuItem!
|
||||
|
||||
override init() {
|
||||
self.mouseTracker = MouseTracker(settings: settings)
|
||||
//call .startUpdater() later
|
||||
@@ -52,8 +50,12 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
let start = NSMenuItem(title: describeStartButton(), action: #selector(didTapStart), keyEquivalent: "")
|
||||
menu.addItem(start)
|
||||
|
||||
let checkforUpdatesMenuItem = NSMenuItem(
|
||||
title: "Check for Updates...",
|
||||
action: #selector(SPUStandardUpdaterController.checkForUpdates(_:)),
|
||||
keyEquivalent: ""
|
||||
)
|
||||
checkforUpdatesMenuItem.target = updateController
|
||||
checkforUpdatesMenuItem.action = #selector(SPUStandardUpdaterController.checkForUpdates(_:))
|
||||
menu.addItem(checkforUpdatesMenuItem)
|
||||
|
||||
let screen = NSMenuItem(
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>SUFeedURL</key>
|
||||
<string>https://neon443.github.io/appcasts/DockPhobia/appcast.xml</string>
|
||||
<key>SUpublicEDKey</key>
|
||||
<string>ahgIyJGs4MCQ6UXwQ11aknk3a6GwOodHKSmVv4bw6KY=</string>
|
||||
<key>SUEnableAutomaticChecks</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user