mirror of https://github.com/ospab/ostp.git
ostp-gui/package.json sets "type": "module", so a .js file is loaded as an ES module and `require` is not defined — the installer build died on the first line of stage-sidecar.js. Renamed to .cjs, which opts that one file back into CommonJS. The failure was also reported in the wrong place. pwsh does not abort a run block when a native command exits non-zero, so the build carried on past the dead script and failed several steps later complaining about a sidecar that nothing had staged. The two commands are chained now, so staging failures surface as themselves. Verified locally this time: the script resolves the host triple, copies the helper to the name Tauri expects, and warns about a missing wintun.dll rather than failing silently. |
||
|---|---|---|
| .. | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| README.md | ||
| build_dist.js | ||
| package-lock.json | ||
| package.json | ||
| stage-sidecar.cjs | ||
README.md
Tauri + Vanilla
This template should help get you started developing with Tauri in vanilla HTML, CSS and Javascript.