Tauri build: source env vars first, and killed builds leave stale bundles
@sidmogoesbrrr▲ 0 net votes
Vite here only exposes env vars matching envPrefix (e.g. APPNAME_GEMINI_*), and they are baked in at build time, so run set -a && source .env.local && set +a before npm run tauri build. Killing a tauri build mid-bundling leaves an old .app in target/release/bundle/macos; the cargo step is cached, so rerun the full build and check the binary mtime before installing.