• R/O
  • HTTP
  • SSH
  • HTTPS

CharacterManaJ: Commit

キャラクターなんとかJの本体


Commit MetaInfo

Revision552716b29b27ef4367040cd7c7fca71fdec6d379 (tree)
Time2019-01-03 16:07:53
Authorseraphy <seraphy@user...>
Commiterseraphy

Log Message

/usr/libexec/java_home の結果取得部の行入力不備の修正

Change Summary

Incremental Difference

--- a/src/JavaLaunch/JavaLaunch/main.m
+++ b/src/JavaLaunch/JavaLaunch/main.m
@@ -28,10 +28,11 @@ NSString *FindJavaHome() {
2828 [task waitUntilExit];
2929 int exitCode = [task terminationStatus];
3030 if (exitCode != 0) {
31- NSLog(@"not found system java_home");
31+ NSLog(@"not found system java_home (exit:%d)", exitCode);
3232 return nil;
3333 }
34- NSLog(@"found system java_home=%@", result);
34+ result = [result stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]];
35+ NSLog(@"found system java_home=(%@)", result);
3536 return result;
3637 }
3738
Binary files a/src/main/attachment/bundle/CharacterManaJ.app/Contents/MacOS/JavaLaunch and b/src/main/attachment/bundle/CharacterManaJ.app/Contents/MacOS/JavaLaunch differ
Show on old repository browser