Skip to content

Commit

Permalink
hotfix: fix login item
Browse files Browse the repository at this point in the history
  • Loading branch information
ImBIOS committed Apr 8, 2023
1 parent 74721a0 commit 2296051
Show file tree
Hide file tree
Showing 5 changed files with 163 additions and 15 deletions.
42 changes: 41 additions & 1 deletion Remute.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
11B86E5D1EDE9B4D0069D254 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 11B86E5B1EDE9B4D0069D254 /* Main.storyboard */; };
11B86E661EDE9BD00069D254 /* DFRFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 11B86E651EDE9BD00069D254 /* DFRFoundation.framework */; };
11B86E981EDEC6720069D254 /* ServiceManagement.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 11B86E921EDEAD1D0069D254 /* ServiceManagement.framework */; };
1CB5EC5729E1A45D0067EF5C /* Remute Launcher.app in Resources */ = {isa = PBXBuildFile; fileRef = 1CB5EC5629E19F1B0067EF5C /* Remute Launcher.app */; };
1CB5EC5829E1A4A80067EF5C /* Remute Launcher.app in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1CB5EC5629E19F1B0067EF5C /* Remute Launcher.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
242787BCE98FD2B43E32703E /* libPods-Remute.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C2CE39171FE86ACB7F6C386 /* libPods-Remute.a */; };
5D4763221F0562E6005E8DB0 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 5D47631F1F0562E6005E8DB0 /* [email protected] */; };
5D4763231F0562E6005E8DB0 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 5D4763201F0562E6005E8DB0 /* [email protected] */; };
Expand All @@ -26,13 +28,24 @@
C6B6195A2167483F00F06C6B /* .gitignore in Resources */ = {isa = PBXBuildFile; fileRef = C6B619592167483F00F06C6B /* .gitignore */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
1CB5EC5529E19F1B0067EF5C /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1CB5EC4129E19EAA0067EF5C /* Remute Launcher.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 11B86E751EDEAC970069D254;
remoteInfo = "Remute Launcher";
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
11B86E941EDEAD980069D254 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = Contents/Library/LoginItems;
dstSubfolderSpec = 1;
files = (
1CB5EC5829E1A4A80067EF5C /* Remute Launcher.app in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -55,6 +68,7 @@
11B86E671EDE9CDC0069D254 /* TouchBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TouchBar.h; sourceTree = "<group>"; };
11B86E921EDEAD1D0069D254 /* ServiceManagement.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ServiceManagement.framework; path = System/Library/Frameworks/ServiceManagement.framework; sourceTree = SDKROOT; };
11B86E9A1EDECB3F0069D254 /* Remute.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Remute.entitlements; sourceTree = "<group>"; };
1CB5EC4129E19EAA0067EF5C /* Remute Launcher.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "Remute Launcher.xcodeproj"; path = "Remute/Remute Launcher/Remute Launcher.xcodeproj"; sourceTree = "<group>"; };
414578CF9911DD8725F6B4BA /* Pods-Remute.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Remute.release.xcconfig"; path = "Target Support Files/Pods-Remute/Pods-Remute.release.xcconfig"; sourceTree = "<group>"; };
4C2CE39171FE86ACB7F6C386 /* libPods-Remute.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Remute.a"; sourceTree = BUILT_PRODUCTS_DIR; };
5D47631F1F0562E6005E8DB0 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -94,6 +108,7 @@
11B86E4F1EDE9B4D0069D254 /* Remute */,
11B86E4E1EDE9B4D0069D254 /* Products */,
11B86E641EDE9BD00069D254 /* Frameworks */,
1CB5EC4129E19EAA0067EF5C /* Remute Launcher.xcodeproj */,
BB2B16BA4B399BED85E72BBE /* Pods */,
);
sourceTree = "<group>";
Expand Down Expand Up @@ -147,6 +162,14 @@
name = Frameworks;
sourceTree = "<group>";
};
1CB5EC5229E19F1B0067EF5C /* Products */ = {
isa = PBXGroup;
children = (
1CB5EC5629E19F1B0067EF5C /* Remute Launcher.app */,
);
name = Products;
sourceTree = "<group>";
};
5D4763251F0562F2005E8DB0 /* Graphics */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -197,7 +220,7 @@
attributes = {
BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 1430;
ORGANIZATIONNAME = "Pixel Point";
ORGANIZATIONNAME = "Imamuzzaki Abu Salam";
TargetAttributes = {
11B86E4C1EDE9B4D0069D254 = {
CreatedOnToolsVersion = 8.3.1;
Expand All @@ -221,20 +244,37 @@
mainGroup = 11B86E441EDE9B4C0069D254;
productRefGroup = 11B86E4E1EDE9B4D0069D254 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = 1CB5EC5229E19F1B0067EF5C /* Products */;
ProjectRef = 1CB5EC4129E19EAA0067EF5C /* Remute Launcher.xcodeproj */;
},
);
projectRoot = "";
targets = (
11B86E4C1EDE9B4D0069D254 /* Remute */,
);
};
/* End PBXProject section */

/* Begin PBXReferenceProxy section */
1CB5EC5629E19F1B0067EF5C /* Remute Launcher.app */ = {
isa = PBXReferenceProxy;
fileType = wrapper.application;
path = "Remute Launcher.app";
remoteRef = 1CB5EC5529E19F1B0067EF5C /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */

/* Begin PBXResourcesBuildPhase section */
11B86E4B1EDE9B4D0069D254 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5D4763241F0562E6005E8DB0 /* [email protected] in Resources */,
11B86E5A1EDE9B4D0069D254 /* Assets.xcassets in Resources */,
1CB5EC5729E1A45D0067EF5C /* Remute Launcher.app in Resources */,
5D4763231F0562E6005E8DB0 /* [email protected] in Resources */,
5D4763221F0562E6005E8DB0 /* [email protected] in Resources */,
5DA60BDA1EFAB9270045BDCF /* statusBarIcon2.png in Resources */,
Expand Down
3 changes: 0 additions & 3 deletions Remute.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Remute/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>1.0.1</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSBackgroundOnly</key>
Expand Down
52 changes: 43 additions & 9 deletions Remute/Remute Launcher/Remute Launcher.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objectVersion = 53;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -104,8 +104,9 @@
11B86E6D1EDEAC970069D254 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0830;
ORGANIZATIONNAME = "Pixel Point";
BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 1430;
ORGANIZATIONNAME = "Imamuzzaki Abu Salam";
TargetAttributes = {
11B86E741EDEAC970069D254 = {
CreatedOnToolsVersion = 8.3.1;
Expand All @@ -121,10 +122,9 @@
};
buildConfigurationList = 11B86E701EDEAC970069D254 /* Build configuration list for PBXProject "Remute Launcher" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
Expand Down Expand Up @@ -179,26 +179,37 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
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;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand All @@ -216,7 +227,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
Expand All @@ -227,26 +238,37 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
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;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand All @@ -258,7 +280,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
Expand All @@ -271,9 +293,15 @@
CODE_SIGN_ENTITLEMENTS = "Remute Launcher/Remute Launcher.entitlements";
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = MA98Q3DQ6F;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "Remute Launcher/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
PRODUCT_BUNDLE_IDENTIFIER = "ImBIOS.Remute-Launcher";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -288,9 +316,15 @@
CODE_SIGN_ENTITLEMENTS = "Remute Launcher/Remute Launcher.entitlements";
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = MA98Q3DQ6F;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "Remute Launcher/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
PRODUCT_BUNDLE_IDENTIFIER = "ImBIOS.Remute-Launcher";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "11B86E741EDEAC970069D254"
BuildableName = "Remute Launcher.app"
BlueprintName = "Remute Launcher"
ReferencedContainer = "container:Remute Launcher.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</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 = "11B86E741EDEAC970069D254"
BuildableName = "Remute Launcher.app"
BlueprintName = "Remute Launcher"
ReferencedContainer = "container:Remute Launcher.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "11B86E741EDEAC970069D254"
BuildableName = "Remute Launcher.app"
BlueprintName = "Remute Launcher"
ReferencedContainer = "container:Remute Launcher.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit 2296051

Please sign in to comment.