aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DWA140Menu.xcodeproj/project.pbxproj86
-rw-r--r--DWA140Menu/DWA140Menu.entitlements2
l---------DWA140Menu/LaunchAtLogin.framework/Headers1
l---------DWA140Menu/LaunchAtLogin.framework/LaunchAtLogin1
l---------DWA140Menu/LaunchAtLogin.framework/Modules1
l---------DWA140Menu/LaunchAtLogin.framework/Resources1
-rw-r--r--DWA140Menu/LaunchAtLogin.framework/Versions/A/Headers/LaunchAtLogin-Swift.h186
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Headers/LaunchAtLogin.h4
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/LaunchAtLoginbin24548 -> 0 bytes
-rw-r--r--DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/LaunchAtLogin.swiftmodule/x86_64.swiftdocbin380 -> 0 bytes
-rw-r--r--DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/LaunchAtLogin.swiftmodule/x86_64.swiftmodulebin16832 -> 0 bytes
-rw-r--r--DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/module.modulemap11
-rw-r--r--DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/Info.plist44
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftAppKit.dylibbin232112 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCore.dylibbin6544080 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreData.dylibbin89280 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreFoundation.dylibbin32000 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreGraphics.dylibbin192992 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreImage.dylibbin40224 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftDarwin.dylibbin97312 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftDispatch.dylibbin336800 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftFoundation.dylibbin3056160 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftIOKit.dylibbin35872 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftMetal.dylibbin83280 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftObjectiveC.dylibbin51888 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftQuartzCore.dylibbin49248 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftXPC.dylibbin35824 -> 0 bytes
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftos.dylibbin65488 -> 0 bytes
-rw-r--r--DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Info.plist50
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/MacOS/LaunchAtLoginHelperbin29916 -> 0 bytes
-rw-r--r--DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/PkgInfo1
-rwxr-xr-xDWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/copy-helper.sh17
l---------DWA140Menu/LaunchAtLogin.framework/Versions/Current1
-rw-r--r--DWA140Menu/ViewController.swift6
34 files changed, 78 insertions, 334 deletions
diff --git a/DWA140Menu.xcodeproj/project.pbxproj b/DWA140Menu.xcodeproj/project.pbxproj
index 37c5db8..23e743f 100644
--- a/DWA140Menu.xcodeproj/project.pbxproj
+++ b/DWA140Menu.xcodeproj/project.pbxproj
@@ -7,6 +7,9 @@
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, ); }; };
+ E786F7B921E4261B00A2F5EE /* LaunchAtLogin.framework.dSYM in CopyFiles */ = {isa = PBXBuildFile; fileRef = E786F7B821E4261A00A2F5EE /* LaunchAtLogin.framework.dSYM */; };
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 */; };
@@ -32,9 +35,34 @@
};
/* End PBXContainerItemProxy section */
+/* Begin PBXCopyFilesBuildPhase section */
+ E786F7B621E425E900A2F5EE /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ E786F7B521E425E900A2F5EE /* LaunchAtLogin.framework in Embed Frameworks */,
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ E786F7B721E4260C00A2F5EE /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 0;
+ files = (
+ E786F7B921E4261B00A2F5EE /* LaunchAtLogin.framework.dSYM in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
/* Begin PBXFileReference section */
- E768B81421D4596500A25D3B /* LaunchAtLogin.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = LaunchAtLogin.framework; sourceTree = "<group>"; };
- E7D7967F21DEB6AB0004055A /* DWA140Menu.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DWA140Menu.entitlements; sourceTree = "<group>"; };
+ 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 = Carthage/Build/Mac/LaunchAtLogin.framework; sourceTree = "<group>"; };
+ E786F7B821E4261A00A2F5EE /* LaunchAtLogin.framework.dSYM */ = {isa = PBXFileReference; lastKnownFileType = wrapper.dsym; name = LaunchAtLogin.framework.dSYM; path = Carthage/Build/Mac/LaunchAtLogin.framework.dSYM; sourceTree = "<group>"; };
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>"; };
@@ -55,6 +83,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ E786F7B421E425E900A2F5EE /* LaunchAtLogin.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -75,21 +104,15 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
- E7D7967C21DE824F0004055A /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
E7DA7E3D213DD9DD00931016 = {
isa = PBXGroup;
children = (
+ E786F7B821E4261A00A2F5EE /* LaunchAtLogin.framework.dSYM */,
+ E786F7B321E425E900A2F5EE /* LaunchAtLogin.framework */,
E7DA7E48213DD9DD00931016 /* DWA140Menu */,
E7DA7E5B213DD9DD00931016 /* DWA140MenuTests */,
E7DA7E66213DD9DD00931016 /* DWA140MenuUITests */,
E7DA7E47213DD9DD00931016 /* Products */,
- E7D7967C21DE824F0004055A /* Frameworks */,
);
sourceTree = "<group>";
};
@@ -106,9 +129,8 @@
E7DA7E48213DD9DD00931016 /* DWA140Menu */ = {
isa = PBXGroup;
children = (
+ E786F7B221E4244F00A2F5EE /* DWA140Menu.entitlements */,
E7DA7E7A213DF43100931016 /* DWA140Menu-Bridging-Header.h */,
- E7D7967F21DEB6AB0004055A /* DWA140Menu.entitlements */,
- E768B81421D4596500A25D3B /* LaunchAtLogin.framework */,
E7DA7E49213DD9DD00931016 /* AppDelegate.swift */,
E7DA7E4B213DD9DD00931016 /* ViewController.swift */,
E7DA7E4D213DD9DD00931016 /* Assets.xcassets */,
@@ -146,6 +168,9 @@
E7DA7E42213DD9DD00931016 /* Sources */,
E7DA7E43213DD9DD00931016 /* Frameworks */,
E7DA7E44213DD9DD00931016 /* Resources */,
+ E786F7B621E425E900A2F5EE /* Embed Frameworks */,
+ E786F7B721E4260C00A2F5EE /* CopyFiles */,
+ E786F7BA21E4269000A2F5EE /* ShellScript */,
);
buildRules = (
);
@@ -205,6 +230,11 @@
E7DA7E45213DD9DD00931016 = {
CreatedOnToolsVersion = 9.4.1;
LastSwiftMigration = 1010;
+ SystemCapabilities = {
+ com.apple.Sandbox = {
+ enabled = 1;
+ };
+ };
};
E7DA7E57213DD9DD00931016 = {
CreatedOnToolsVersion = 9.4.1;
@@ -264,6 +294,26 @@
};
/* 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;
@@ -436,12 +486,15 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_ENTITLEMENTS = "";
+ CODE_SIGN_ENTITLEMENTS = DWA140Menu/DWA140Menu.entitlements;
+ CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
+ DEVELOPMENT_TEAM = 99ENHKG76U;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/DWA140Menu",
+ "$(PROJECT_DIR)/Carthage/Build/Mac",
);
INFOPLIST_FILE = DWA140Menu/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
@@ -451,6 +504,7 @@
MACOSX_DEPLOYMENT_TARGET = 10.12;
PRODUCT_BUNDLE_IDENTIFIER = com.FivePixels.DWA140Menu;
PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
};
name = Debug;
@@ -459,12 +513,15 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_ENTITLEMENTS = "";
+ CODE_SIGN_ENTITLEMENTS = DWA140Menu/DWA140Menu.entitlements;
+ CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
+ DEVELOPMENT_TEAM = 99ENHKG76U;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/DWA140Menu",
+ "$(PROJECT_DIR)/Carthage/Build/Mac",
);
INFOPLIST_FILE = DWA140Menu/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
@@ -474,6 +531,7 @@
MACOSX_DEPLOYMENT_TARGET = 10.12;
PRODUCT_BUNDLE_IDENTIFIER = com.FivePixels.DWA140Menu;
PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
};
name = Release;
diff --git a/DWA140Menu/DWA140Menu.entitlements b/DWA140Menu/DWA140Menu.entitlements
index 625af03..18aff0c 100644
--- a/DWA140Menu/DWA140Menu.entitlements
+++ b/DWA140Menu/DWA140Menu.entitlements
@@ -6,7 +6,5 @@
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
- <key>com.apple.security.network.client</key>
- <true/>
</dict>
</plist>
diff --git a/DWA140Menu/LaunchAtLogin.framework/Headers b/DWA140Menu/LaunchAtLogin.framework/Headers
deleted file mode 120000
index a177d2a..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Headers
+++ /dev/null
@@ -1 +0,0 @@
-Versions/Current/Headers \ No newline at end of file
diff --git a/DWA140Menu/LaunchAtLogin.framework/LaunchAtLogin b/DWA140Menu/LaunchAtLogin.framework/LaunchAtLogin
deleted file mode 120000
index f0b8733..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/LaunchAtLogin
+++ /dev/null
@@ -1 +0,0 @@
-Versions/Current/LaunchAtLogin \ No newline at end of file
diff --git a/DWA140Menu/LaunchAtLogin.framework/Modules b/DWA140Menu/LaunchAtLogin.framework/Modules
deleted file mode 120000
index 5736f31..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Modules
+++ /dev/null
@@ -1 +0,0 @@
-Versions/Current/Modules \ No newline at end of file
diff --git a/DWA140Menu/LaunchAtLogin.framework/Resources b/DWA140Menu/LaunchAtLogin.framework/Resources
deleted file mode 120000
index 953ee36..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Resources
+++ /dev/null
@@ -1 +0,0 @@
-Versions/Current/Resources \ No newline at end of file
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Headers/LaunchAtLogin-Swift.h b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Headers/LaunchAtLogin-Swift.h
deleted file mode 100644
index 843e5a4..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Headers/LaunchAtLogin-Swift.h
+++ /dev/null
@@ -1,186 +0,0 @@
-// Generated by Apple Swift version 4.2.1 effective-4.1.50 (swiftlang-1000.11.42 clang-1000.11.45.1)
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgcc-compat"
-
-#if !defined(__has_include)
-# define __has_include(x) 0
-#endif
-#if !defined(__has_attribute)
-# define __has_attribute(x) 0
-#endif
-#if !defined(__has_feature)
-# define __has_feature(x) 0
-#endif
-#if !defined(__has_warning)
-# define __has_warning(x) 0
-#endif
-
-#if __has_include(<swift/objc-prologue.h>)
-# include <swift/objc-prologue.h>
-#endif
-
-#pragma clang diagnostic ignored "-Wauto-import"
-#include <objc/NSObject.h>
-#include <stdint.h>
-#include <stddef.h>
-#include <stdbool.h>
-
-#if !defined(SWIFT_TYPEDEFS)
-# define SWIFT_TYPEDEFS 1
-# if __has_include(<uchar.h>)
-# include <uchar.h>
-# elif !defined(__cplusplus)
-typedef uint_least16_t char16_t;
-typedef uint_least32_t char32_t;
-# endif
-typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
-typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
-typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
-typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
-typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
-typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
-typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
-typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
-typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
-typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
-typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
-typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
-#endif
-
-#if !defined(SWIFT_PASTE)
-# define SWIFT_PASTE_HELPER(x, y) x##y
-# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
-#endif
-#if !defined(SWIFT_METATYPE)
-# define SWIFT_METATYPE(X) Class
-#endif
-#if !defined(SWIFT_CLASS_PROPERTY)
-# if __has_feature(objc_class_property)
-# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
-# else
-# define SWIFT_CLASS_PROPERTY(...)
-# endif
-#endif
-
-#if __has_attribute(objc_runtime_name)
-# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
-#else
-# define SWIFT_RUNTIME_NAME(X)
-#endif
-#if __has_attribute(swift_name)
-# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
-#else
-# define SWIFT_COMPILE_NAME(X)
-#endif
-#if __has_attribute(objc_method_family)
-# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
-#else
-# define SWIFT_METHOD_FAMILY(X)
-#endif
-#if __has_attribute(noescape)
-# define SWIFT_NOESCAPE __attribute__((noescape))
-#else
-# define SWIFT_NOESCAPE
-#endif
-#if __has_attribute(warn_unused_result)
-# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
-#else
-# define SWIFT_WARN_UNUSED_RESULT
-#endif
-#if __has_attribute(noreturn)
-# define SWIFT_NORETURN __attribute__((noreturn))
-#else
-# define SWIFT_NORETURN
-#endif
-#if !defined(SWIFT_CLASS_EXTRA)
-# define SWIFT_CLASS_EXTRA
-#endif
-#if !defined(SWIFT_PROTOCOL_EXTRA)
-# define SWIFT_PROTOCOL_EXTRA
-#endif
-#if !defined(SWIFT_ENUM_EXTRA)
-# define SWIFT_ENUM_EXTRA
-#endif
-#if !defined(SWIFT_CLASS)
-# if __has_attribute(objc_subclassing_restricted)
-# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
-# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
-# else
-# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
-# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
-# endif
-#endif
-
-#if !defined(SWIFT_PROTOCOL)
-# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
-# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
-#endif
-
-#if !defined(SWIFT_EXTENSION)
-# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
-#endif
-
-#if !defined(OBJC_DESIGNATED_INITIALIZER)
-# if __has_attribute(objc_designated_initializer)
-# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
-# else
-# define OBJC_DESIGNATED_INITIALIZER
-# endif
-#endif
-#if !defined(SWIFT_ENUM_ATTR)
-# if defined(__has_attribute) && __has_attribute(enum_extensibility)
-# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
-# else
-# define SWIFT_ENUM_ATTR(_extensibility)
-# endif
-#endif
-#if !defined(SWIFT_ENUM)
-# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
-# if __has_feature(generalized_swift_name)
-# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
-# else
-# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
-# endif
-#endif
-#if !defined(SWIFT_UNAVAILABLE)
-# define SWIFT_UNAVAILABLE __attribute__((unavailable))
-#endif
-#if !defined(SWIFT_UNAVAILABLE_MSG)
-# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
-#endif
-#if !defined(SWIFT_AVAILABILITY)
-# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
-#endif
-#if !defined(SWIFT_DEPRECATED)
-# define SWIFT_DEPRECATED __attribute__((deprecated))
-#endif
-#if !defined(SWIFT_DEPRECATED_MSG)
-# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
-#endif
-#if __has_feature(attribute_diagnose_if_objc)
-# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
-#else
-# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
-#endif
-#if __has_feature(modules)
-#endif
-
-#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
-#pragma clang diagnostic ignored "-Wduplicate-method-arg"
-#if __has_warning("-Wpragma-clang-attribute")
-# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
-#endif
-#pragma clang diagnostic ignored "-Wunknown-pragmas"
-#pragma clang diagnostic ignored "-Wnullability"
-
-#if __has_attribute(external_source_symbol)
-# pragma push_macro("any")
-# undef any
-# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="LaunchAtLogin",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
-# pragma pop_macro("any")
-#endif
-
-#if __has_attribute(external_source_symbol)
-# pragma clang attribute pop
-#endif
-#pragma clang diagnostic pop
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Headers/LaunchAtLogin.h b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Headers/LaunchAtLogin.h
deleted file mode 100755
index f801178..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Headers/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/DWA140Menu/LaunchAtLogin.framework/Versions/A/LaunchAtLogin b/DWA140Menu/LaunchAtLogin.framework/Versions/A/LaunchAtLogin
deleted file mode 100755
index 944e344..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/LaunchAtLogin
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/LaunchAtLogin.swiftmodule/x86_64.swiftdoc b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/LaunchAtLogin.swiftmodule/x86_64.swiftdoc
deleted file mode 100644
index 0a87fad..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/LaunchAtLogin.swiftmodule/x86_64.swiftdoc
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/LaunchAtLogin.swiftmodule/x86_64.swiftmodule b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/LaunchAtLogin.swiftmodule/x86_64.swiftmodule
deleted file mode 100644
index a3be532..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/LaunchAtLogin.swiftmodule/x86_64.swiftmodule
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/module.modulemap b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/module.modulemap
deleted file mode 100644
index 3753816..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Modules/module.modulemap
+++ /dev/null
@@ -1,11 +0,0 @@
-framework module LaunchAtLogin {
- umbrella header "LaunchAtLogin.h"
-
- export *
- module * { export * }
-}
-
-module LaunchAtLogin.Swift {
- header "LaunchAtLogin-Swift.h"
- requires objc
-}
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/Info.plist b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/Info.plist
deleted file mode 100644
index 9d95f17..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/Info.plist
+++ /dev/null
@@ -1,44 +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>BuildMachineOSBuild</key>
- <string>18C54</string>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>LaunchAtLogin</string>
- <key>CFBundleIdentifier</key>
- <string>com.sindresorhus.LaunchAtLogin</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>LaunchAtLogin</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleShortVersionString</key>
- <string>2.2.1</string>
- <key>CFBundleSupportedPlatforms</key>
- <array>
- <string>MacOSX</string>
- </array>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>DTCompiler</key>
- <string>com.apple.compilers.llvm.clang.1_0</string>
- <key>DTPlatformBuild</key>
- <string>10B61</string>
- <key>DTPlatformVersion</key>
- <string>GM</string>
- <key>DTSDKBuild</key>
- <string>18B71</string>
- <key>DTSDKName</key>
- <string>macosx10.14</string>
- <key>DTXcode</key>
- <string>1010</string>
- <key>DTXcodeBuild</key>
- <string>10B61</string>
- <key>NSHumanReadableCopyright</key>
- <string>MIT © Sindre Sorhus</string>
-</dict>
-</plist>
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftAppKit.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftAppKit.dylib
deleted file mode 100755
index 84e7031..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftAppKit.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCore.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCore.dylib
deleted file mode 100755
index d0d89ab..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCore.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreData.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreData.dylib
deleted file mode 100755
index 30c3218..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreData.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreFoundation.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreFoundation.dylib
deleted file mode 100755
index e0be8ea..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreFoundation.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreGraphics.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreGraphics.dylib
deleted file mode 100755
index 1ea4db3..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreGraphics.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreImage.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreImage.dylib
deleted file mode 100755
index b1485bb..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftCoreImage.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftDarwin.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftDarwin.dylib
deleted file mode 100755
index ba074cf..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftDarwin.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftDispatch.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftDispatch.dylib
deleted file mode 100755
index 7fa8029..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftDispatch.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftFoundation.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftFoundation.dylib
deleted file mode 100755
index 7cbf306..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftFoundation.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftIOKit.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftIOKit.dylib
deleted file mode 100755
index 73ea183..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftIOKit.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftMetal.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftMetal.dylib
deleted file mode 100755
index bc131e2..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftMetal.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftObjectiveC.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftObjectiveC.dylib
deleted file mode 100755
index 833512f..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftObjectiveC.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftQuartzCore.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftQuartzCore.dylib
deleted file mode 100755
index ca509e4..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftQuartzCore.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftXPC.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftXPC.dylib
deleted file mode 100755
index a119137..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftXPC.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftos.dylib b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftos.dylib
deleted file mode 100755
index 521132b..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Frameworks/libswiftos.dylib
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Info.plist b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Info.plist
deleted file mode 100644
index 77f1029..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/Info.plist
+++ /dev/null
@@ -1,50 +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>BuildMachineOSBuild</key>
- <string>18C54</string>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>LaunchAtLoginHelper</string>
- <key>CFBundleIdentifier</key>
- <string>com.sindresorhus.LaunchAtLoginHelper</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>LaunchAtLoginHelper</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0.0</string>
- <key>CFBundleSupportedPlatforms</key>
- <array>
- <string>MacOSX</string>
- </array>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>DTCompiler</key>
- <string>com.apple.compilers.llvm.clang.1_0</string>
- <key>DTPlatformBuild</key>
- <string>10B61</string>
- <key>DTPlatformVersion</key>
- <string>GM</string>
- <key>DTSDKBuild</key>
- <string>18B71</string>
- <key>DTSDKName</key>
- <string>macosx10.14</string>
- <key>DTXcode</key>
- <string>1010</string>
- <key>DTXcodeBuild</key>
- <string>10B61</string>
- <key>LSBackgroundOnly</key>
- <true/>
- <key>LSMinimumSystemVersion</key>
- <string>10.12</string>
- <key>NSHumanReadableCopyright</key>
- <string>MIT © Sindre Sorhus</string>
- <key>NSPrincipalClass</key>
- <string>NSApplication</string>
-</dict>
-</plist>
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/MacOS/LaunchAtLoginHelper b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/MacOS/LaunchAtLoginHelper
deleted file mode 100755
index f254a01..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/MacOS/LaunchAtLoginHelper
+++ /dev/null
Binary files differ
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/PkgInfo b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/PkgInfo
deleted file mode 100644
index bd04210..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/LaunchAtLoginHelper.app/Contents/PkgInfo
+++ /dev/null
@@ -1 +0,0 @@
-APPL???? \ No newline at end of file
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/copy-helper.sh b/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/copy-helper.sh
deleted file mode 100755
index 3de8a9d..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/A/Resources/copy-helper.sh
+++ /dev/null
@@ -1,17 +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"
-codesign --force --entitlements="$CODE_SIGN_ENTITLEMENTS" --sign="$EXPANDED_CODE_SIGN_IDENTITY_NAME" "$helper_path"
-
-if [[ $CONFIGURATION == "Release" ]]; then
- rm -rf "$origin_helper_path"
- rm "$(dirname "$origin_helper_path")/copy-helper.sh"
-fi
diff --git a/DWA140Menu/LaunchAtLogin.framework/Versions/Current b/DWA140Menu/LaunchAtLogin.framework/Versions/Current
deleted file mode 120000
index 8c7e5a6..0000000
--- a/DWA140Menu/LaunchAtLogin.framework/Versions/Current
+++ /dev/null
@@ -1 +0,0 @@
-A \ No newline at end of file
diff --git a/DWA140Menu/ViewController.swift b/DWA140Menu/ViewController.swift
index ea3fe55..16968a0 100644
--- a/DWA140Menu/ViewController.swift
+++ b/DWA140Menu/ViewController.swift
@@ -6,6 +6,7 @@
//
import Cocoa
+import LaunchAtLogin
class ViewController: NSViewController {
@@ -30,6 +31,11 @@ class ViewController: NSViewController {
loginButton.state = !loginLaunch ? .on : .off
defaults.set(!loginLaunch, forKey: "loginLaunch")
loginLaunch = !loginLaunch
+ if loginLaunch {
+ LaunchAtLogin.isEnabled = true
+ } else {
+ LaunchAtLogin.isEnabled = false
+ }
}
@IBAction func loginButtonPressed(_ sender: NSButton) {