-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhancement: open cookie stores (chrome/etc) locked by running browser processes #65
Comments
The file is locked by Chrome. We might be able to open it if we add FILE_SHARE_DELETE to the share mode. TODO: fork syscall.Open() with sharemode := uint32(FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE) |
If you want to use kooky with a running chrome browser you can disable the lock feature in chrome with a --disable-features=LockProfileCookieDatabase flag when starting the browser. yt-dlp/yt-dlp#7271 (comment) :
|
seems like its doable without admin rights (chrome restarts the process) yt-dlp/yt-dlp#7271 (comment) :
rust https://github.com/thewh1teagle/rookie/blob/02995bb/rookie-rs/src/winapi.rs#L63 |
chrome.CookieJar(store.FilePath())
is not working, when using chrome browser an show error isopen C:\Users\dvgamerr\AppData\Local\Google\Chrome\User Data\Default\Network\Cookies: The process cannot access the file because it is being used by another process.
but working if close all chrome app
The text was updated successfully, but these errors were encountered: