1
0
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:
Cris Stringfellow 2022-01-02 05:34:15 +08:00
parent 3c330df5a9
commit a4d5b7e12c

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} = {}) {