Browse Source

use /tmp and not user's Downloads dir

works_for_me Release_2.1.0-RC5
Volker Birk 2 years ago
parent
commit
0ba1f6e8c9
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      pEpMacOSAdapter/pEpUpdater.mm

+ 1
- 5
pEpMacOSAdapter/pEpUpdater.mm View File

@ -106,11 +106,7 @@ NSString* CONFIG_PATH = @"/Library/Application Support/pEp/Updater";
NSLog(@"using key from %s", keyfile.c_str());
NSString* cwd = [NSFileManager defaultManager].currentDirectoryPath;
NSURL* dirurl = [[[NSFileManager defaultManager]
URLsForDirectory:NSDownloadsDirectory inDomains:NSUserDomainMask]
lastObject];
NSString* dir = [dirurl path];
NSString* dir = @"/tmp";
[[NSFileManager defaultManager] changeCurrentDirectoryPath:dir];
std::string _filename;


Loading…
Cancel
Save