Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Don't write to package directory #667

Closed
maleadt opened this issue Sep 23, 2022 · 2 comments
Closed

Don't write to package directory #667

maleadt opened this issue Sep 23, 2022 · 2 comments

Comments

@maleadt
Copy link

maleadt commented Sep 23, 2022

Gtk.jl currently, during __init__, writes to its own package directory:

mutable_artifacts_toml = joinpath(dirname(@__DIR__), "MutableArtifacts.toml")

This is not OK, as packages may be installed in a system-wide or otherwise read-only location. Gtk.jl should use Scratch.jl to get a directory to write temporary things to.

@tknopp
Copy link
Collaborator

tknopp commented Sep 23, 2022

#619

@maleadt
Copy link
Author

maleadt commented Sep 23, 2022

Oh ok, sorry for the noise.

@maleadt maleadt closed this as completed Sep 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants