### Build installers and binaries Source: https://github.com/amarbego/rscoop/blob/main/docs/_site/developer-guide.html Build signed installers and portable binaries. Artifacts land in src-tauri/target/release/bundle. ```bash npm run tauri build ``` -------------------------------- ### Install rScoop with Scoop Source: https://github.com/amarbego/rscoop/blob/main/README.md Adds the rScoop bucket and installs the rScoop app via Scoop. Requires Scoop to be installed first. ```powershell scoop bucket add rscoop https://github.com/AmarBego/Rscoop scoop install rscoop/rscoop ``` -------------------------------- ### Clone and install Rscoop Source: https://github.com/amarbego/rscoop/blob/main/docs/_site/developer-guide.html Clone the repository, navigate into it, and install npm dependencies. Required before running any of the npm scripts. ```bash git clone https://github.com/AmarBego/rscoop.git cd rscoop npm install ``` -------------------------------- ### Regenerate installer BMPs with ImageMagick Source: https://github.com/amarbego/rscoop/blob/main/src-tauri/windows/installer-assets/README.md Regenerate all four installer theming BMPs from the repo root using ImageMagick 7+. Each command writes a 24-bit uncompressed BMP (no alpha) to the path referenced by tauri.conf.json under bundle.windows.{wix,nsis}. The wix-dialog command overlays the 'rScoop' wordmark and uses a navy-to-white gradient so the black text WiX overlays on the right half stays legible. ```bash magick -size 493x58 xc:'#ffffff' \ \( -size 493x3 xc:'#d14a2e' \) -gravity South -composite \ \( src-tauri/icons/icon.png -resize 42x42 \) -gravity East -geometry +10+0 -composite \ -alpha off -depth 8 -type TrueColor \ BMP3:src-tauri/windows/installer-assets/wix-banner.bmp ``` ```bash magick -size 150x57 xc:'#ffffff' \ \( -size 150x2 xc:'#d14a2e' \) -gravity South -composite \ \( src-tauri/icons/icon.png -resize 40x40 \) -gravity East -geometry +6+0 -composite \ -alpha off -depth 8 -type TrueColor \ BMP3:src-tauri/windows/installer-assets/nsis-header.bmp ``` ```bash magick -size 493x312 xc:'#ffffff' \ \( -size 312x110 gradient:'#142434-#ffffff' -rotate -90 \) -gravity NorthWest -geometry +90+0 -composite \ \( -size 90x312 xc:'#142434' \) -gravity NorthWest -geometry +0+0 -composite \ \( src-tauri/icons/icon.png -resize 56x56 \) -gravity NorthWest -geometry +17+75 -composite \ -font Arial-Bold -pointsize 18 -fill '#d14a2e' -gravity NorthWest -annotate +10+155 "rScoop" \ -alpha off -depth 8 -type TrueColor \ BMP3:src-tauri/windows/installer-assets/wix-dialog.bmp ``` ```bash magick -size 164x314 gradient:'#1a2d42-#0a1420' \ \( src-tauri/icons/icon.png -resize 110x110 \) -gravity North -geometry +0+40 -composite \ -font Arial-Bold -pointsize 22 -fill '#ffffff' -gravity North -annotate +0+170 "rScoop" \ \( -size 164x3 xc:'#d14a2e' \) -gravity South -composite \ -alpha off -depth 8 -type TrueColor \ BMP3:src-tauri/windows/installer-assets/nsis-sidebar.bmp ``` -------------------------------- ### Preview BMP as PNG with ImageMagick Source: https://github.com/amarbego/rscoop/blob/main/src-tauri/windows/installer-assets/README.md Convert a BMP installer asset to PNG for quick previewing on Windows, where BMPs are not convenient to eyeball. Run from the repo root. ```bash magick src-tauri/windows/installer-assets/wix-dialog.bmp /tmp/preview.png ``` -------------------------------- ### Run frontend dev server Source: https://github.com/amarbego/rscoop/blob/main/docs/_site/developer-guide.html Launch Vite directly for quick frontend UI iteration. ```bash npm run dev ``` -------------------------------- ### Run desktop app in dev mode Source: https://github.com/amarbego/rscoop/blob/main/docs/_site/developer-guide.html Run the desktop app in development mode with hot reload. ```bash npm run tauri dev ```