Mac OSX Launcher: 0.1.3 Release commit.

This commit is contained in:
meeh
2019-01-22 19:25:33 +00:00
parent 88d9f1d509
commit 609d5944bb
4 changed files with 6 additions and 6 deletions

View File

@ -83,7 +83,7 @@ using namespace subprocess;
chdir(basePath.c_str()); chdir(basePath.c_str());
// Everything behind --exec java - would be passed as arguments to the java executable. // Everything behind --exec java - would be passed as arguments to the java executable.
std::string execStr = "/usr/bin/unzip "; //std::string([rs.getJavaHome UTF8String]); std::string execStr = "/usr/bin/unzip -uo "; //std::string([rs.getJavaHome UTF8String]);
execStr += [self.metaInfo.zipFile UTF8String]; execStr += [self.metaInfo.zipFile UTF8String];
//for_each(cli, [&execStr](std::string str){ execStr += std::string(" ") + str; }); //for_each(cli, [&execStr](std::string str){ execStr += std::string(" ") + str; });

View File

@ -500,7 +500,7 @@
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nversion=`/usr/libexec/PlistBuddy -c \"Print I2PRoutereVersion\" \"${INFOPLIST_FILE}\"`\ncommit=`mtn heads --branch=i2p.i2p | awk '{ print $1 }' | head -n 1`\nbuildinfo=\"Built $(date), $commit\"\n\n# Use cat to avoid any potential alias of cp asking for overwrite of file.\ncat $SRCROOT/version.h.tpl > $SRCROOT/version.h\nsed -i '' \"s#VERSION_REPLACED_BY_XCODE_BUILD_SCRIPT#$version#g\" $SRCROOT/version.h\nsed -i '' \"s#BUILD_INFO_REPLACED_BY_XCODE_BUILD_SCRIPT#$buildinfo#\" $SRCROOT/version.h\n\n$SRCROOT/check_latest_java.sh\n\n"; shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nversion=`/usr/libexec/PlistBuddy -c \"Print I2PRouterVersion\" \"${INFOPLIST_FILE}\"`\ncommit=`mtn heads --branch=i2p.i2p | awk '{ print $1 }' | head -n 1`\nbuildinfo=\"Built $(date), $commit\"\n\n# Use cat to avoid any potential alias of cp asking for overwrite of file.\ncat $SRCROOT/version.h.tpl > $SRCROOT/version.h\nsed -i '' \"s#VERSION_REPLACED_BY_XCODE_BUILD_SCRIPT#$version#g\" $SRCROOT/version.h\nsed -i '' \"s#BUILD_INFO_REPLACED_BY_XCODE_BUILD_SCRIPT#$buildinfo#\" $SRCROOT/version.h\n\n$SRCROOT/check_latest_java.sh\n\n";
}; };
BF1EFA4B215142030014EB07 /* ShellScript */ = { BF1EFA4B215142030014EB07 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;

View File

@ -17,11 +17,11 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.1.2</string> <string>0.1.3</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>5</string> <string>5</string>
<key>I2PRoutereVersion</key> <key>I2PRouterVersion</key>
<string>0.9.37</string> <string>0.9.38</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string> <string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>

View File

@ -4,7 +4,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/.sign-secrets source $DIR/.sign-secrets
APP_NAME="I2PLauncher" APP_NAME="I2PLauncher"
VERSION="0.9.37" VERSION="`/usr/libexec/PlistBuddy -c 'Print I2PRouterVersion' Info.plist`"
DMG_BACKGROUND_IMG=${BACKGROUND_IMG:-"Background.png"} DMG_BACKGROUND_IMG=${BACKGROUND_IMG:-"Background.png"}
APP_EXE="${APP_NAME}.app/Contents/MacOS/${APP_NAME}" APP_EXE="${APP_NAME}.app/Contents/MacOS/${APP_NAME}"