Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F10493240
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
643 B
Subscribers
None
View Options
diff --git a/macOS/AppDelegate.swift b/macOS/AppDelegate.swift
index 3894904..b44a890 100644
--- a/macOS/AppDelegate.swift
+++ b/macOS/AppDelegate.swift
@@ -1,7 +1,13 @@
import Cocoa
+import Sparkle
class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(_ notification: Notification) {
-
+ SUUpdater.shared()?.automaticallyChecksForUpdates = true
+ /*
+ Next line prints:
+ ⚠️ You must specify the URL of the appcast as the SUFeedURL key in either the Info.plist or the user defaults!
+ */
+ SUUpdater.shared()?.checkForUpdates(self)
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Mar 5, 8:39 PM (2 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3166431
Attached To
rWFSUI WriteFreely SwiftUI
Event Timeline
Log In to Comment