aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFivePixels <o5pxels@gmail.com>2019-03-13 02:32:48 -0500
committerFivePixels <o5pxels@gmail.com>2019-03-13 02:32:48 -0500
commit44fd4eedbbba9d28efd301c554f611c08f26a3ca (patch)
treefc778dd663994dff3123469a7630f0d9d48e9d47
parent7799cba77fd833817d16465c5be96ff7fcd46451 (diff)
downloaddwa140shortcut-44fd4eedbbba9d28efd301c554f611c08f26a3ca.tar.xz
dwa140shortcut-44fd4eedbbba9d28efd301c554f611c08f26a3ca.zip
Removed Carthage
-rw-r--r--Cartfile1
-rw-r--r--Cartfile.resolved1
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/.editorconfig8
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/.gitattributes1
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/.gitignore2
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.podspec14
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/project.pbxproj494
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLogin.xcscheme80
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLoginHelper.xcscheme91
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/Info.plist22
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/LaunchAtLogin.h4
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/LaunchAtLogin.swift19
-rwxr-xr-xCarthage/Checkouts/LaunchAtLogin/LaunchAtLogin/copy-helper.sh22
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/Info.plist28
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/LaunchAtLoginHelper.entitlements8
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/main.swift25
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/before-after.md21
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/license9
-rw-r--r--Carthage/Checkouts/LaunchAtLogin/readme.md86
-rw-r--r--DWA140Menu.xcodeproj/project.pbxproj41
20 files changed, 11 insertions, 966 deletions
diff --git a/Cartfile b/Cartfile
deleted file mode 100644
index 3819bb8..0000000
--- a/Cartfile
+++ /dev/null
@@ -1 +0,0 @@
-github "sindresorhus/LaunchAtLogin"
diff --git a/Cartfile.resolved b/Cartfile.resolved
deleted file mode 100644
index 9f3a542..0000000
--- a/Cartfile.resolved
+++ /dev/null
@@ -1 +0,0 @@
-github "sindresorhus/LaunchAtLogin" "v2.5.0"
diff --git a/Carthage/Checkouts/LaunchAtLogin/.editorconfig b/Carthage/Checkouts/LaunchAtLogin/.editorconfig
deleted file mode 100644
index aaac325..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/.editorconfig
+++ /dev/null
@@ -1,8 +0,0 @@
-root = true
-
-[*]
-indent_style = tab
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
diff --git a/Carthage/Checkouts/LaunchAtLogin/.gitattributes b/Carthage/Checkouts/LaunchAtLogin/.gitattributes
deleted file mode 100644
index 6313b56..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/.gitattributes
+++ /dev/null
@@ -1 +0,0 @@
-* text=auto eol=lf
diff --git a/Carthage/Checkouts/LaunchAtLogin/.gitignore b/Carthage/Checkouts/LaunchAtLogin/.gitignore
deleted file mode 100644
index 8b53cbf..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-xcuserdata
-project.xcworkspace
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.podspec b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.podspec
deleted file mode 100644
index 608be3a..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.podspec
+++ /dev/null
@@ -1,14 +0,0 @@
-Pod::Spec.new do |s|
- s.name = 'LaunchAtLogin'
- s.version = '2.5.0'
- s.summary = 'Add "Launch at Login" functionality to your sandboxed macOS app in seconds'
- s.license = 'MIT'
- s.homepage = 'https://github.com/sindresorhus/LaunchAtLogin'
- s.social_media_url = 'https://twitter.com/sindresorhus'
- s.authors = { 'Sindre Sorhus' => 'sindresorhus@gmail.com' }
- s.source = { :git => 'https://github.com/sindresorhus/LaunchAtLogin.git', :tag => "v#{s.version}" }
- s.source_files = 'LaunchAtLogin', 'LaunchAtLoginHelper'
- s.resource = 'LaunchAtLogin/copy-helper.sh'
- s.swift_version = '4.2'
- s.platform = :macos, '10.12'
-end
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/project.pbxproj b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/project.pbxproj
deleted file mode 100644
index 2a4d294..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,494 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 51;
- objects = {
-
-/* Begin PBXBuildFile section */
- E32E9B681EB87D7B000FEEE9 /* LaunchAtLogin.h in Headers */ = {isa = PBXBuildFile; fileRef = E32E9B661EB87D7B000FEEE9 /* LaunchAtLogin.h */; settings = {ATTRIBUTES = (Public, ); }; };
- E32E9B6F1EB87DC5000FEEE9 /* LaunchAtLogin.swift in Sources */ = {isa = PBXBuildFile; fileRef = E32E9B6E1EB87DC5000FEEE9 /* LaunchAtLogin.swift */; };
- E32E9B771EB87EA3000FEEE9 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = E32E9B761EB87EA3000FEEE9 /* main.swift */; };
- E32E9B861EB8845E000FEEE9 /* LaunchAtLoginHelper.app in Resources */ = {isa = PBXBuildFile; fileRef = E32E9B741EB87EA3000FEEE9 /* LaunchAtLoginHelper.app */; };
- E32E9B931EB889AE000FEEE9 /* copy-helper.sh in Resources */ = {isa = PBXBuildFile; fileRef = E32E9B921EB889AE000FEEE9 /* copy-helper.sh */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- E32E9B871EB88462000FEEE9 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = E32E9B5A1EB87D7B000FEEE9 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = E32E9B731EB87EA3000FEEE9;
- remoteInfo = LaunchAtLoginHelper;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- E32E9B631EB87D7B000FEEE9 /* LaunchAtLogin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LaunchAtLogin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- E32E9B661EB87D7B000FEEE9 /* LaunchAtLogin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = LaunchAtLogin.h; sourceTree = "<group>"; usesTabs = 1; };
- E32E9B671EB87D7B000FEEE9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
- E32E9B6E1EB87DC5000FEEE9 /* LaunchAtLogin.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = LaunchAtLogin.swift; sourceTree = "<group>"; usesTabs = 1; };
- E32E9B741EB87EA3000FEEE9 /* LaunchAtLoginHelper.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LaunchAtLoginHelper.app; sourceTree = BUILT_PRODUCTS_DIR; };
- E32E9B761EB87EA3000FEEE9 /* main.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = main.swift; sourceTree = "<group>"; usesTabs = 1; };
- E32E9B7F1EB87EA3000FEEE9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
- E32E9B921EB889AE000FEEE9 /* copy-helper.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; lineEnding = 0; path = "copy-helper.sh"; sourceTree = "<group>"; usesTabs = 1; };
- E3B8C38A20C0003300272EC0 /* LaunchAtLoginHelper.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = LaunchAtLoginHelper.entitlements; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- E32E9B5F1EB87D7B000FEEE9 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- E32E9B711EB87EA3000FEEE9 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- E32E9B591EB87D7B000FEEE9 = {
- isa = PBXGroup;
- children = (
- E32E9B651EB87D7B000FEEE9 /* LaunchAtLogin */,
- E32E9B751EB87EA3000FEEE9 /* LaunchAtLoginHelper */,
- E32E9B641EB87D7B000FEEE9 /* Products */,
- );
- sourceTree = "<group>";
- usesTabs = 1;
- };
- E32E9B641EB87D7B000FEEE9 /* Products */ = {
- isa = PBXGroup;
- children = (
- E32E9B631EB87D7B000FEEE9 /* LaunchAtLogin.framework */,
- E32E9B741EB87EA3000FEEE9 /* LaunchAtLoginHelper.app */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- E32E9B651EB87D7B000FEEE9 /* LaunchAtLogin */ = {
- isa = PBXGroup;
- children = (
- E32E9B6E1EB87DC5000FEEE9 /* LaunchAtLogin.swift */,
- E32E9B661EB87D7B000FEEE9 /* LaunchAtLogin.h */,
- E32E9B921EB889AE000FEEE9 /* copy-helper.sh */,
- E32E9B671EB87D7B000FEEE9 /* Info.plist */,
- );
- path = LaunchAtLogin;
- sourceTree = "<group>";
- };
- E32E9B751EB87EA3000FEEE9 /* LaunchAtLoginHelper */ = {
- isa = PBXGroup;
- children = (
- E32E9B761EB87EA3000FEEE9 /* main.swift */,
- E32E9B7F1EB87EA3000FEEE9 /* Info.plist */,
- E3B8C38A20C0003300272EC0 /* LaunchAtLoginHelper.entitlements */,
- );
- path = LaunchAtLoginHelper;
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- E32E9B601EB87D7B000FEEE9 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E32E9B681EB87D7B000FEEE9 /* LaunchAtLogin.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- E32E9B621EB87D7B000FEEE9 /* LaunchAtLogin */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = E32E9B6B1EB87D7B000FEEE9 /* Build configuration list for PBXNativeTarget "LaunchAtLogin" */;
- buildPhases = (
- E32E9B5E1EB87D7B000FEEE9 /* Sources */,
- E32E9B5F1EB87D7B000FEEE9 /* Frameworks */,
- E32E9B601EB87D7B000FEEE9 /* Headers */,
- E32E9B611EB87D7B000FEEE9 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- E32E9B881EB88462000FEEE9 /* PBXTargetDependency */,
- );
- name = LaunchAtLogin;
- productName = LaunchAtLogin;
- productReference = E32E9B631EB87D7B000FEEE9 /* LaunchAtLogin.framework */;
- productType = "com.apple.product-type.framework";
- };
- E32E9B731EB87EA3000FEEE9 /* LaunchAtLoginHelper */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = E32E9B801EB87EA3000FEEE9 /* Build configuration list for PBXNativeTarget "LaunchAtLoginHelper" */;
- buildPhases = (
- E32E9B701EB87EA3000FEEE9 /* Sources */,
- E32E9B711EB87EA3000FEEE9 /* Frameworks */,
- E32E9B721EB87EA3000FEEE9 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = LaunchAtLoginHelper;
- productName = LaunchAtLoginHelper;
- productReference = E32E9B741EB87EA3000FEEE9 /* LaunchAtLoginHelper.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- E32E9B5A1EB87D7B000FEEE9 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0830;
- LastUpgradeCheck = 0940;
- ORGANIZATIONNAME = "Sindre Sorhus";
- TargetAttributes = {
- E32E9B621EB87D7B000FEEE9 = {
- CreatedOnToolsVersion = 8.3.2;
- LastSwiftMigration = "";
- };
- E32E9B731EB87EA3000FEEE9 = {
- CreatedOnToolsVersion = 8.3.2;
- LastSwiftMigration = "";
- SystemCapabilities = {
- com.apple.HardenedRuntime = {
- enabled = 1;
- };
- com.apple.Sandbox = {
- enabled = 1;
- };
- };
- };
- };
- };
- buildConfigurationList = E32E9B5D1EB87D7B000FEEE9 /* Build configuration list for PBXProject "LaunchAtLogin" */;
- compatibilityVersion = "Xcode 10.0";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = E32E9B591EB87D7B000FEEE9;
- productRefGroup = E32E9B641EB87D7B000FEEE9 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- E32E9B621EB87D7B000FEEE9 /* LaunchAtLogin */,
- E32E9B731EB87EA3000FEEE9 /* LaunchAtLoginHelper */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- E32E9B611EB87D7B000FEEE9 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E32E9B861EB8845E000FEEE9 /* LaunchAtLoginHelper.app in Resources */,
- E32E9B931EB889AE000FEEE9 /* copy-helper.sh in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- E32E9B721EB87EA3000FEEE9 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- E32E9B5E1EB87D7B000FEEE9 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E32E9B6F1EB87DC5000FEEE9 /* LaunchAtLogin.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- E32E9B701EB87EA3000FEEE9 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E32E9B771EB87EA3000FEEE9 /* main.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- E32E9B881EB88462000FEEE9 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = E32E9B731EB87EA3000FEEE9 /* LaunchAtLoginHelper */;
- targetProxy = E32E9B871EB88462000FEEE9 /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- E32E9B691EB87D7B000FEEE9 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGN_IDENTITY = "";
- COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 1;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.12;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = macosx;
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
- SWIFT_COMPILATION_MODE = singlefile;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- VALID_ARCHS = x86_64;
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
- };
- name = Debug;
- };
- E32E9B6A1EB87D7B000FEEE9 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGN_IDENTITY = "";
- COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 1;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.12;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = macosx;
- SWIFT_COMPILATION_MODE = wholemodule;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
- VALID_ARCHS = x86_64;
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
- };
- name = Release;
- };
- E32E9B6C1EB87D7B000FEEE9 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_IDENTITY = "";
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- DEFINES_MODULE = YES;
- DEVELOPMENT_TEAM = YG56YK5RN5;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- FRAMEWORK_VERSION = A;
- INFOPLIST_FILE = LaunchAtLogin/Info.plist;
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- "@loader_path/Frameworks",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.sindresorhus.LaunchAtLogin;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SKIP_INSTALL = YES;
- SWIFT_COMPILATION_MODE = singlefile;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 4.2;
- };
- name = Debug;
- };
- E32E9B6D1EB87D7B000FEEE9 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_IDENTITY = "";
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- DEFINES_MODULE = YES;
- DEVELOPMENT_TEAM = YG56YK5RN5;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- FRAMEWORK_VERSION = A;
- INFOPLIST_FILE = LaunchAtLogin/Info.plist;
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- "@loader_path/Frameworks",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.sindresorhus.LaunchAtLogin;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 4.2;
- };
- name = Release;
- };
- E32E9B811EB87EA3000FEEE9 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CODE_SIGN_ENTITLEMENTS = LaunchAtLoginHelper/LaunchAtLoginHelper.entitlements;
- CODE_SIGN_IDENTITY = "Mac Developer";
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- DEVELOPMENT_TEAM = YG56YK5RN5;
- ENABLE_HARDENED_RUNTIME = YES;
- INFOPLIST_FILE = LaunchAtLoginHelper/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.sindresorhus.LaunchAtLoginHelper;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 4.2;
- };
- name = Debug;
- };
- E32E9B821EB87EA3000FEEE9 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CODE_SIGN_ENTITLEMENTS = LaunchAtLoginHelper/LaunchAtLoginHelper.entitlements;
- CODE_SIGN_IDENTITY = "Mac Developer";
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- DEVELOPMENT_TEAM = YG56YK5RN5;
- ENABLE_HARDENED_RUNTIME = YES;
- INFOPLIST_FILE = LaunchAtLoginHelper/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.sindresorhus.LaunchAtLoginHelper;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 4.2;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- E32E9B5D1EB87D7B000FEEE9 /* Build configuration list for PBXProject "LaunchAtLogin" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E32E9B691EB87D7B000FEEE9 /* Debug */,
- E32E9B6A1EB87D7B000FEEE9 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- E32E9B6B1EB87D7B000FEEE9 /* Build configuration list for PBXNativeTarget "LaunchAtLogin" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E32E9B6C1EB87D7B000FEEE9 /* Debug */,
- E32E9B6D1EB87D7B000FEEE9 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- E32E9B801EB87EA3000FEEE9 /* Build configuration list for PBXNativeTarget "LaunchAtLoginHelper" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E32E9B811EB87EA3000FEEE9 /* Debug */,
- E32E9B821EB87EA3000FEEE9 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = E32E9B5A1EB87D7B000FEEE9 /* Project object */;
-}
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLogin.xcscheme b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLogin.xcscheme
deleted file mode 100644
index 81af23c..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLogin.xcscheme
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0940"
- version = "1.3">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E32E9B621EB87D7B000FEEE9"
- BuildableName = "LaunchAtLogin.framework"
- BlueprintName = "LaunchAtLogin"
- ReferencedContainer = "container:LaunchAtLogin.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- </Testables>
- <AdditionalOptions>
- </AdditionalOptions>
- </TestAction>
- <LaunchAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E32E9B621EB87D7B000FEEE9"
- BuildableName = "LaunchAtLogin.framework"
- BlueprintName = "LaunchAtLogin"
- ReferencedContainer = "container:LaunchAtLogin.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E32E9B621EB87D7B000FEEE9"
- BuildableName = "LaunchAtLogin.framework"
- BlueprintName = "LaunchAtLogin"
- ReferencedContainer = "container:LaunchAtLogin.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLoginHelper.xcscheme b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLoginHelper.xcscheme
deleted file mode 100644
index a3a3172..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin.xcodeproj/xcshareddata/xcschemes/LaunchAtLoginHelper.xcscheme
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0940"
- version = "1.3">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E32E9B731EB87EA3000FEEE9"
- BuildableName = "LaunchAtLoginHelper.app"
- BlueprintName = "LaunchAtLoginHelper"
- ReferencedContainer = "container:LaunchAtLogin.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- </Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E32E9B731EB87EA3000FEEE9"
- BuildableName = "LaunchAtLoginHelper.app"
- BlueprintName = "LaunchAtLoginHelper"
- ReferencedContainer = "container:LaunchAtLogin.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </TestAction>
- <LaunchAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <BuildableProductRunnable
- runnableDebuggingMode = "0">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E32E9B731EB87EA3000FEEE9"
- BuildableName = "LaunchAtLoginHelper.app"
- BlueprintName = "LaunchAtLoginHelper"
- ReferencedContainer = "container:LaunchAtLogin.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- <BuildableProductRunnable
- runnableDebuggingMode = "0">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E32E9B731EB87EA3000FEEE9"
- BuildableName = "LaunchAtLoginHelper.app"
- BlueprintName = "LaunchAtLoginHelper"
- ReferencedContainer = "container:LaunchAtLogin.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/Info.plist b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/Info.plist
deleted file mode 100644
index ceae955..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/Info.plist
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>$(PRODUCT_NAME)</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleShortVersionString</key>
- <string>2.5.0</string>
- <key>CFBundleVersion</key>
- <string>$(CURRENT_PROJECT_VERSION)</string>
- <key>NSHumanReadableCopyright</key>
- <string>MIT © Sindre Sorhus</string>
-</dict>
-</plist>
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/LaunchAtLogin.h b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/LaunchAtLogin.h
deleted file mode 100644
index f801178..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/LaunchAtLogin.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#import <Cocoa/Cocoa.h>
-
-FOUNDATION_EXPORT double LaunchAtLoginVersionNumber;
-FOUNDATION_EXPORT const unsigned char LaunchAtLoginVersionString[];
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/LaunchAtLogin.swift b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/LaunchAtLogin.swift
deleted file mode 100644
index c0050c9..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/LaunchAtLogin.swift
+++ /dev/null
@@ -1,19 +0,0 @@
-import Foundation
-import ServiceManagement
-
-public struct LaunchAtLogin {
- private static let id = "\(Bundle.main.bundleIdentifier!)-LaunchAtLoginHelper"
-
- public static var isEnabled: Bool {
- get {
- guard let jobs = (SMCopyAllJobDictionaries(kSMDomainUserLaunchd).takeRetainedValue() as? [[String: AnyObject]]) else {
- return false
- }
- let job = jobs.first { $0["Label"] as! String == id }
- return job?["OnDemand"] as? Bool ?? false
- }
- set {
- SMLoginItemSetEnabled(id as CFString, newValue)
- }
- }
-}
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/copy-helper.sh b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/copy-helper.sh
deleted file mode 100755
index 52af101..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLogin/copy-helper.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-origin_helper_path="$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH/LaunchAtLogin.framework/Resources/LaunchAtLoginHelper.app"
-helper_dir="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Library/LoginItems"
-helper_path="$helper_dir/LaunchAtLoginHelper.app"
-
-rm -rf "$helper_path"
-mkdir -p "$helper_dir"
-cp -rf "$origin_helper_path" "$helper_dir/"
-
-defaults write "$helper_path/Contents/Info" CFBundleIdentifier -string "$PRODUCT_BUNDLE_IDENTIFIER-LaunchAtLoginHelper"
-
-if [[ -n $CODE_SIGN_ENTITLEMENTS ]]; then
- codesign --force --entitlements="$CODE_SIGN_ENTITLEMENTS" --options=runtime --sign="$EXPANDED_CODE_SIGN_IDENTITY_NAME" "$helper_path"
-else
- codesign --force --options=runtime --sign="$EXPANDED_CODE_SIGN_IDENTITY_NAME" "$helper_path"
-fi
-
-if [[ $CONFIGURATION == "Release" ]]; then
- rm -rf "$origin_helper_path"
- rm "$(dirname "$origin_helper_path")/copy-helper.sh"
-fi
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/Info.plist b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/Info.plist
deleted file mode 100644
index a075677..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/Info.plist
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>$(PRODUCT_NAME)</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0.0</string>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>LSMinimumSystemVersion</key>
- <string>$(MACOSX_DEPLOYMENT_TARGET)</string>
- <key>NSHumanReadableCopyright</key>
- <string>MIT © Sindre Sorhus</string>
- <key>LSBackgroundOnly</key>
- <true/>
- <key>NSPrincipalClass</key>
- <string>NSApplication</string>
-</dict>
-</plist>
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/LaunchAtLoginHelper.entitlements b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/LaunchAtLoginHelper.entitlements
deleted file mode 100644
index 852fa1a..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/LaunchAtLoginHelper.entitlements
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>com.apple.security.app-sandbox</key>
- <true/>
-</dict>
-</plist>
diff --git a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/main.swift b/Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/main.swift
deleted file mode 100644
index ad7fd4f..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/LaunchAtLoginHelper/main.swift
+++ /dev/null
@@ -1,25 +0,0 @@
-import Cocoa
-
-final class AppDelegate: NSObject, NSApplicationDelegate {
- func applicationDidFinishLaunching(_ notification: Notification) {
- let bundleId = Bundle.main.bundleIdentifier!
- // TODO: Make this more strict by only replacing at the end
- let mainBundleId = bundleId.replacingOccurrences(of: "-LaunchAtLoginHelper", with: "")
-
- // Ensure the app is not already running
- guard NSRunningApplication.runningApplications(withBundleIdentifier: mainBundleId).isEmpty else {
- NSApp.terminate(nil)
- return
- }
-
- let pathComponents = (Bundle.main.bundlePath as NSString).pathComponents
- let mainPath = NSString.path(withComponents: Array(pathComponents[0...(pathComponents.count - 5)]))
- NSWorkspace.shared.launchApplication(mainPath)
- NSApp.terminate(nil)
- }
-}
-
-private let app = NSApplication.shared
-private let delegate = AppDelegate()
-app.delegate = delegate
-app.run()
diff --git a/Carthage/Checkouts/LaunchAtLogin/before-after.md b/Carthage/Checkouts/LaunchAtLogin/before-after.md
deleted file mode 100644
index 91cbe70..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/before-after.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Before and after
-
-With `LaunchAtLogin`, you only have to do 2 steps instead of 13!
-
-```diff
-- 1. Create a new target that will be the helper app that launches your app
-- 2. Set `LSBackgroundOnly` to true in the `Info.plist` file
-- 3. Set `Skip Install` to `YES` in the build settings for the helper app
-- 4. Enable sandboxing for the helper app
-- 5. Add a new `Copy Files` build phase to the main app
-- 6. Select `Wrapper` as destination
-- 7. Enter `Contents/Library/LoginItems` as subpath
-- 8. Add the helper build product to the build phase
-- 9. Copy-paste some boilerplate code into the helper app
-- 10. Remember to replace `bundleid.of.main.app` and `MainExectuableName` with your own values
-- 11. Copy-paste some code to register the helper app into your main app
-- 12. Make sure the main app and helper app use the same code signing certificate
-- 13. Manually verify that you did everything correctly
-+ 1. Install this package
-+ 2. Add a new "Run Script Phase"
-```
diff --git a/Carthage/Checkouts/LaunchAtLogin/license b/Carthage/Checkouts/LaunchAtLogin/license
deleted file mode 100644
index e7af2f7..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/Carthage/Checkouts/LaunchAtLogin/readme.md b/Carthage/Checkouts/LaunchAtLogin/readme.md
deleted file mode 100644
index 5cc5a31..0000000
--- a/Carthage/Checkouts/LaunchAtLogin/readme.md
+++ /dev/null
@@ -1,86 +0,0 @@
-# LaunchAtLogin
-
-> Add "Launch at Login" functionality to your macOS app in seconds
-
-It's usually quite a [convoluted and error-prone process](before-after.md) to add this. **No more!**
-
-This package works with both sandboxed and non-sandboxed apps and it's App Store compatible and used in my [Lungo](https://blog.sindresorhus.com/lungo-b364a6c2745f) and [Battery Indicator](https://sindresorhus.com/battery-indicator) apps.
-
-*You might also find my [`create-dmg`](https://github.com/sindresorhus/create-dmg) project useful if you're publishing your app outside the App Store.*
-
-
-## Requirements
-
-- macOS 10.12+
-- Xcode 10+
-- Swift 4.2+
-
-
-## Install
-
-#### Carthage
-
-```
-github "sindresorhus/LaunchAtLogin"
-```
-
-#### CocoaPods
-
-```ruby
-pod 'LaunchAtLogin'
-```
-
-<a href="https://www.patreon.com/sindresorhus">
- <img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
-</a>
-
-
-## Usage
-
-Add a new ["Run Script Phase"](http://stackoverflow.com/a/39633955/64949) below "Embed Frameworks" in "Build Phases" with the following:
-
-Carthage:
-
-```sh
-"${PROJECT_DIR}/Carthage/Build/Mac/LaunchAtLogin.framework/Resources/copy-helper.sh"
-```
-
-CocoaPods:
-
-```sh
-"${PROJECT_DIR}/Pods/LaunchAtLogin/LaunchAtLogin/copy-helper.sh"
-```
-
-Use it in your app:
-
-```swift
-import LaunchAtLogin
-
-print(LaunchAtLogin.isEnabled)
-//=> false
-
-LaunchAtLogin.isEnabled = true
-
-print(LaunchAtLogin.isEnabled)
-//=> true
-```
-
-*Note that the [Mac App Store guidelines](https://developer.apple.com/app-store/review/guidelines/) requires "launch at login" functionality to be enabled in response to a user action. This is usually solved by making it a preference that is disabled by default.*
-
-
-## How does it work?
-
-The framework bundles the helper app needed to launch your app and copies it into your app at build time.
-
-
-## Related
-
-- [Defaults](https://github.com/sindresorhus/Defaults) - Swifty and modern UserDefaults
-- [Preferences](https://github.com/sindresorhus/Preferences) - Add a preferences window to your macOS app in minutes
-- [DockProgress](https://github.com/sindresorhus/DockProgress) - Show progress in your app's Dock icon
-- [More…](https://github.com/search?q=user%3Asindresorhus+language%3Aswift)
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/DWA140Menu.xcodeproj/project.pbxproj b/DWA140Menu.xcodeproj/project.pbxproj
index 794ef32..8b93d8e 100644
--- a/DWA140Menu.xcodeproj/project.pbxproj
+++ b/DWA140Menu.xcodeproj/project.pbxproj
@@ -7,8 +7,6 @@
objects = {
/* Begin PBXBuildFile section */
- E786F7B421E425E900A2F5EE /* LaunchAtLogin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E786F7B321E425E900A2F5EE /* LaunchAtLogin.framework */; };
- E786F7B521E425E900A2F5EE /* LaunchAtLogin.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E786F7B321E425E900A2F5EE /* LaunchAtLogin.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
E7DA7E4A213DD9DD00931016 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7DA7E49213DD9DD00931016 /* AppDelegate.swift */; };
E7DA7E4C213DD9DD00931016 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7DA7E4B213DD9DD00931016 /* ViewController.swift */; };
E7DA7E4E213DD9DD00931016 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E7DA7E4D213DD9DD00931016 /* Assets.xcassets */; };
@@ -35,13 +33,12 @@
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
- E786F7B621E425E900A2F5EE /* Embed Frameworks */ = {
+ E76604E22238E616003DA789 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
+ buildActionMask = 12;
dstPath = "";
dstSubfolderSpec = 10;
files = (
- E786F7B521E425E900A2F5EE /* LaunchAtLogin.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
@@ -50,7 +47,6 @@
/* Begin PBXFileReference section */
E786F7B221E4244F00A2F5EE /* DWA140Menu.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DWA140Menu.entitlements; sourceTree = "<group>"; };
- E786F7B321E425E900A2F5EE /* LaunchAtLogin.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = LaunchAtLogin.framework; path = /Users/dylanbolger/Documents/Development/macOS/Applications/dwa140shortcut/Carthage/Build/Mac/LaunchAtLogin.framework; sourceTree = "<absolute>"; };
E7DA7E46213DD9DD00931016 /* DWA140Menu.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DWA140Menu.app; sourceTree = BUILT_PRODUCTS_DIR; };
E7DA7E49213DD9DD00931016 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
E7DA7E4B213DD9DD00931016 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
@@ -70,7 +66,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- E786F7B421E425E900A2F5EE /* LaunchAtLogin.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -91,14 +86,21 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ E76604DE2238E612003DA789 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
E7DA7E3D213DD9DD00931016 = {
isa = PBXGroup;
children = (
- E786F7B321E425E900A2F5EE /* LaunchAtLogin.framework */,
E7DA7E48213DD9DD00931016 /* DWA140Menu */,
E7DA7E5B213DD9DD00931016 /* DWA140MenuTests */,
E7DA7E66213DD9DD00931016 /* DWA140MenuUITests */,
E7DA7E47213DD9DD00931016 /* Products */,
+ E76604DE2238E612003DA789 /* Frameworks */,
);
sourceTree = "<group>";
};
@@ -153,8 +155,7 @@
E7DA7E42213DD9DD00931016 /* Sources */,
E7DA7E43213DD9DD00931016 /* Frameworks */,
E7DA7E44213DD9DD00931016 /* Resources */,
- E786F7B621E425E900A2F5EE /* Embed Frameworks */,
- E786F7BA21E4269000A2F5EE /* ShellScript */,
+ E76604E22238E616003DA789 /* Embed Frameworks */,
);
buildRules = (
);
@@ -278,26 +279,6 @@
};
/* End PBXResourcesBuildPhase section */
-/* Begin PBXShellScriptBuildPhase section */
- E786F7BA21E4269000A2F5EE /* ShellScript */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- );
- outputFileListPaths = (
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = "/bin/sh ${PROJECT_DIR}/Carthage/Build/Mac/LaunchAtLogin.framework/Resources/copy-helper.sh";
- shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n";
- };
-/* End PBXShellScriptBuildPhase section */
-
/* Begin PBXSourcesBuildPhase section */
E7DA7E42213DD9DD00931016 /* Sources */ = {
isa = PBXSourcesBuildPhase;