mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-23 14:09:40 +00:00
Fix so that Let's move doesn't use ~/Applications
This commit is contained in:
parent
22a7c5cc15
commit
f157ded1f8
2
external/letsmove/PFMoveApplication.m
vendored
2
external/letsmove/PFMoveApplication.m
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user