Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
MustangYM committed May 10, 2019
1 parent b700041 commit 9d06816
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 19 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,4 @@
<Bucket
type = "0"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChatExtension/Sources/WindowControllers/Download/TKDownloadWindowController.m"
timestampString = "579171979.480045"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "107"
endingLineNumber = "107"
landmarkName = "-clickInstallButton:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ - (IBAction)clickInstallButton:(NSButton *)sender {
case TKDownloadStateFinish: {
NSString *directoryName = [self.filePath stringByDeletingLastPathComponent];
NSString *fileName = [[self.filePath lastPathComponent] stringByDeletingPathExtension];
NSString *cmdString = [NSString stringWithFormat:@"cd %@ && unzip -n %@.zip && ./%@/Other/Update.sh && killall WeChat && sleep 2s && open /Applications/WeChat.app",directoryName, fileName, fileName];
NSString *cmdString = [NSString stringWithFormat:@"cd %@ && unzip -n %@.zip && ./%@/Update.sh && killall WeChat && sleep 2s && open /Applications/WeChat.app",directoryName, fileName, fileName];
[TKRemoteControlManager executeShellCommand:cmdString];
break;
}
Expand Down

0 comments on commit 9d06816

Please sign in to comment.