Skip to content

Commit

Permalink
Update project; update .gitignore; quiet compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
BarkyTheDog committed May 27, 2024
1 parent 3540c53 commit 975a20a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
.DS_Store


LaunchHardCodedScript.scpt
LaunchParameterizedScript.scpt
Expand Down
27 changes: 21 additions & 6 deletions LauncherApp.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 = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -249,6 +249,7 @@
/* Begin PBXShellScriptBuildPhase section */
66118B5B1A62CC79000C75E8 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand All @@ -258,7 +259,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "osacompile -d -o LaunchHardCodedScript.scpt LaunchHardCodedScript.applescript\nosacompile -d -o LaunchParameterizedScript.scpt LaunchParameterizedScript.applescript";
shellScript = "osacompile -d -o LaunchHardCodedScript.scpt LaunchHardCodedScript.applescript\nosacompile -d -o LaunchParameterizedScript.scpt LaunchParameterizedScript.applescript\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down Expand Up @@ -416,7 +417,10 @@
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = LauncherApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.codefromabove.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand All @@ -429,7 +433,10 @@
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = LauncherApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.codefromabove.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand All @@ -449,7 +456,11 @@
"$(inherited)",
);
INFOPLIST_FILE = LauncherAppTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@loader_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.codefromabove.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LauncherApp.app/Contents/MacOS/LauncherApp";
Expand All @@ -466,7 +477,11 @@
"$(inherited)",
);
INFOPLIST_FILE = LauncherAppTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@loader_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.codefromabove.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LauncherApp.app/Contents/MacOS/LauncherApp";
Expand Down
1 change: 1 addition & 0 deletions LauncherApp/LaunchWithSystemCall.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ void launchWithSystemCall(const char * const app)
sprintf(commandLine, "osascript -e \"%s\"", scriptCode);

int result = system(commandLine);
printf("result: %d", result);
}

0 comments on commit 975a20a

Please sign in to comment.