mirror of
https://github.com/c9fe/22120.git
synced 2024-11-10 04:52:43 +01:00
Select (bookmark) mode - archive by bookmarks. Fixes for Windows
This commit is contained in:
parent
3c330df5a9
commit
a4d5b7e12c
@ -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} = {}) {
|
||||
|
Loading…
Reference in New Issue
Block a user