Skip to content

Commit

Permalink
Upgrade LaunchAtLogin to the latest version
Browse files Browse the repository at this point in the history
Fixes #504
  • Loading branch information
p0deje committed Jan 14, 2023
1 parent 5861eee commit cf97c8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Maccy.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -741,6 +741,7 @@
/* Begin PBXShellScriptBuildPhase section */
DAC6CE9226E1AC2C002B70B8 /* Copy Launch at Login Helper */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down Expand Up @@ -1387,7 +1388,7 @@
repositoryURL = "https://github.com/sindresorhus/LaunchAtLogin";
requirement = {
kind = upToNextMinorVersion;
minimumVersion = 4.1.0;
minimumVersion = 5.0.0;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
2 changes: 2 additions & 0 deletions Maccy/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Cocoa
import Intents
import KeyboardShortcuts
import LaunchAtLogin
import Sauce
import Sparkle

Expand All @@ -22,6 +23,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}

func applicationDidFinishLaunching(_ aNotification: Notification) {
LaunchAtLogin.migrateIfNeeded()
migrateUserDefaults()
clearOrphanRecords()

Expand Down

0 comments on commit cf97c8b

Please sign in to comment.