Skip to content

x7c1/halftone

Repository files navigation

Halftone

A starter kit for Tauri app, which includes common settings for:

  • Frontend
    • Module bundler: Webpack
    • Language: TypeScript
    • Library: React
    • Linter: ESLint
    • Formatter: Prettier
  • Backend
    • Framework: Tauri
    • Structure: Rust workspace
    • Linter: cargo-clippy
    • Formatter: cargo-fmt
  • Others
    • CI: GitHub Actions
    • some utilities to avoid tedious boilerplate :)

Build

under development :

# start watching file change
$ cargo tauri dev

for production :

$ npm run webpack:build

# release build
$ cargo tauri build

# debug build
$ cargo tauri build --debug

$ ls --almost-all --human-readable --size --format single-column ./target/release/bundle/deb/
total 3.7M
4.0K halftone_0.1.0_amd64
3.7M halftone_0.1.0_amd64.deb

Run

AppImage file

$ ./target/release/bundle/appimage/halftone_0.1.0_amd64.AppImage

deb file

install & uninstall :

# install
$ sudo apt-get --reinstall install ./target/release/bundle/deb/halftone_0.1.0_amd64.deb

# useful to watch logs of tauri process
$ /usr/bin/halftone

# uninstall
$ sudo apt remove halftone

License

Licensed under the MIT license.