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
When I use substituteInPlace tauri.conf.json --replace '"distDir": "../dist",' '"distDir": "dist",' in postPatch, the build fails.
This is because the file tauri.config.json doesn't exist, only [Cargo.lock, Cargo.toml, build.rs, src] exists.
It is somewhat suspicious, that only the files needed to build a normal rust package are kept, which is why I suspect nearsk instead of a bug in substituteInPlace.
The text was updated successfully, but these errors were encountered:
When I use
substituteInPlace tauri.conf.json --replace '"distDir": "../dist",' '"distDir": "dist",'
inpostPatch
, the build fails.This is because the file
tauri.config.json
doesn't exist, only[Cargo.lock, Cargo.toml, build.rs, src]
exists.It is somewhat suspicious, that only the files needed to build a normal rust package are kept, which is why I suspect nearsk instead of a bug in
substituteInPlace
.The text was updated successfully, but these errors were encountered: