mirror of
https://github.com/typst/typst
synced 2025-08-15 07:28:32 +08:00
Because the package directory was created immediately empty (before extraction), other Typst instances would already start using it and complain about missing `typst.toml`. The package directory must not exist until the rename takes place. To simplify that, this commit moves the location of the temporary dir into the package subfolder so that it's a move to a direct sibling location.