Select (bookmark) mode - archive by bookmarks. Fixes for Windows

This commit is contained in:
Cris Stringfellow 2022-01-02 05:34:15 +08:00
parent 3c330df5a9
commit a4d5b7e12c
1 changed files with 2 additions and 2 deletions

View File

@ -233,14 +233,14 @@ function getProfileRootDir() {
}
if ( UDD_PATHS[name] ) {
rootDir = Path.resolve(UDD_PATHS[name]);
rootDir = Path.resolve(resolveEnvironmentVariablesToPathSegments(UDD_PATHS[name]));
} else {
throw new TypeError(
`Sorry! We don't know how to find the default Chrome profile on OS name: ${name}`
);
}
return resolveEnvironmentVariablesToPathSegments(rootDir);
return rootDir;
}
function flatten(bookmarkObj, {toMap: toMap = false, map} = {}) {