Преглед изворни кода

Fix so that Let's move doesn't use ~/Applications

Tobias Hieta пре 7 година
родитељ
комит
f157ded1f8
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      external/letsmove/PFMoveApplication.m

+ 2 - 0
external/letsmove/PFMoveApplication.m

@@ -215,6 +215,7 @@ static NSString *PreferredInstallLocation(BOOL *isUserDirectory) {
 	// Assume that if the user has a ~/Applications folder, they'd prefer their
 	// applications to go there.
 
+#if 0
 	NSFileManager *fm = [NSFileManager defaultManager];
 
 	NSArray *userApplicationsDirs = NSSearchPathForDirectoriesInDomains(NSApplicationDirectory, NSUserDomainMask, YES);
@@ -236,6 +237,7 @@ static NSString *PreferredInstallLocation(BOOL *isUserDirectory) {
 			}
 		}
 	}
+#endif
 
 	// No user Applications directory in use. Return the machine local Applications directory
 	if (isUserDirectory) *isUserDirectory = NO;