mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix paths in iOS, some devices and iOS combinations use /private/var paths while some /var/ this was normalized by resolvin symlinks
This commit is contained in:
@@ -215,7 +215,9 @@ export class FileSystemAccess {
|
||||
}
|
||||
|
||||
public getLogicalRootPath(): string {
|
||||
return NSBundle.mainBundle().bundlePath;
|
||||
let mainBundlePath = NSBundle.mainBundle().bundlePath;
|
||||
let resolvedPath = NSString.stringWithString(mainBundlePath).stringByResolvingSymlinksInPath;
|
||||
return resolvedPath;
|
||||
}
|
||||
|
||||
public getDocumentsFolderPath(): string {
|
||||
|
||||
Reference in New Issue
Block a user