Skip to content

Commit

Permalink
add: sign sparkle script
Browse files Browse the repository at this point in the history
  • Loading branch information
ddddxxx committed May 12, 2019
1 parent 036a922 commit 7c3fe7c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions LyricsX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@
BB4141A81E458BA800A51775 /* Resources */,
BB4141CA1E46CDD700A51775 /* Embed Frameworks */,
BB60F3111E889FC000BA1FD2 /* Copy Helper */,
BB0A3AE2228058B3006C2E52 /* Sign Sparkle */,
BB9163341F36371700E4E01C /* Fabric Script */,
BB0BE9531F444BE20068FF67 /* Update Localization */,
BBC1D5811E4AFE64008869EC /* Bump Build */,
Expand Down Expand Up @@ -730,6 +731,24 @@
shellPath = /bin/sh;
shellScript = "/usr/libexec/PlistBuddy -c \"Set :LX_BUILD_TIME $(date +\"%s\")\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\"\n";
};
BB0A3AE2228058B3006C2E52 /* Sign Sparkle */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Sign Sparkle";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "LOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${FRAMEWORKS_FOLDER_PATH}\"\n\n# By default, use the configured code signing identity for the project/target\nIDENTITY=\"${EXPANDED_CODE_SIGN_IDENTITY_NAME}\"\nif [ \"$IDENTITY\" == \"\" ]\nthen\n# If a code signing identity is not specified, use ad hoc signing\nIDENTITY=\"-\"\nfi\ncodesign --verbose --force --deep -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A/Resources/AutoUpdate.app\"\ncodesign --verbose --force -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A\"\n";
};
BB0BE9531F444BE20068FF67 /* Update Localization */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
4 changes: 2 additions & 2 deletions LyricsX/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>1.4.6</string>
<key>CFBundleVersion</key>
<string>2121</string>
<string>2122</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
Expand All @@ -43,7 +43,7 @@
<key>LSUIElement</key>
<true/>
<key>LX_BUILD_TIME</key>
<integer>1557136335</integer>
<integer>1557144140</integer>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
Expand Down

0 comments on commit 7c3fe7c

Please sign in to comment.