You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know the workaround from #56, but setting TMPDIR is not always convenient because:
it sets the value globally for all the program and its dependencies, not only astral
it conflicts with users wanting to manually set this parameter
additionally it prevents the pattern where a single directory is used to store all of app's cache/data, etc.
users cannot handle the lifecycle of their app completly as there's no way to retrieve the generated user-data-dir so it cannot be cleaned when exiting (although leaving stuff in temp dir is usually not a big deal, but it's still a small inconvenience)
not sure as I haven't personally tested yet, but firefox may not have this arg so it'd mean that an extra permission is requested although it may be unneeded
The text was updated successfully, but these errors were encountered:
Currently you always need the temp dir in
--allow-write
because the following is not gated so you'll always hit a permission request:astral/src/browser.ts
Line 253 in 7e91588
And the arg
--user-data-dir
is always set by astral:astral/src/browser.ts
Line 261 in 7e91588
But it'd be nice if the above lines are ignored if user specify the arg theymselves in
args
:astral/src/browser.ts
Line 232 in 7e91588
Basically doing something like:
I know the workaround from #56, but setting TMPDIR is not always convenient because:
The text was updated successfully, but these errors were encountered: