Pokemon Card Data tracking card collection
The Applicaiton has two part a rust tauri backend and a Single page svelte applicaiton
Will lauch a window with what ever ui is in the src folder.
Normal
cargo tauri dev
Stack Trace
RUST_BACKTRACE=1 cargo tauri dev
Will lauch a browser to load web app. Server needs to be running on you will get nothing but a loading screen. If you lauch the server after lauching web app refresh the page to get past loading screen
npm run dev
This will build an executeable for your Operating system.
Build Process Note: TAURI_PRIVATE_KEY needs to set set or you will get an error. You can create your own key or remove the updater options in tauri.conf.json
cd src-web
npm run build
cd ..
cargo tauri build
cd src-tauri
cargo doc --no-deps
PK_DATA_DIR="./data" Data directory for data files POKETRAX_DAEMON=true Disables UI for testing and headless execution
Name | Function |
---|---|
-h | headless |
-a | Admin mode |
Symlink to executable for headless
ln -s /Applications/PokeTrax.app/Contents/MacOS/PokeTrax poketrax
poketrax -h
- Make sure src-tauri/tauri.conf.json version matches Release.
- Create Release in Github
- Action will produce artifacts