mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-06-02 23:59:52 -04:00
merge dev
This commit is contained in:
commit
9b24fe7390
19 changed files with 632 additions and 275 deletions
|
@ -188,6 +188,10 @@ class ChromeConfig(BaseConfigSet):
|
|||
# cmd_args += ('--timeout={}'.format(options.CHROME_TIMEOUT * 1000),)
|
||||
|
||||
if options.CHROME_USER_DATA_DIR:
|
||||
# remove SingletonLock file
|
||||
lockfile = options.CHROME_USER_DATA_DIR / options.CHROME_PROFILE_NAME / 'SingletonLock'
|
||||
lockfile.unlink(missing_ok=True)
|
||||
|
||||
cmd_args.append('--user-data-dir={}'.format(options.CHROME_USER_DATA_DIR))
|
||||
cmd_args.append('--profile-directory={}'.format(options.CHROME_PROFILE_NAME or 'Default'))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue