Contributing to WindowPet
April 11, 2025 · View on GitHub
First of all, thank you for considering contributing to our project! Your help and involvement are greatly appreciated.
Fork the Repository
-
Fork the repository on GitHub.
-
Clone your forked repository to your local machine:
git clone https://github.com/your-name/WindowPet.git -
Cd into the project directory:
cd WindowPet -
Switch to develop branch:
git checkout dev -
Keep your fork up to date:
git pull origin dev -
Create a new branch:
git checkout -b your-branch-name -
Make your changes and commit them:
git commit -m 'Your commit message' -
Push your changes to your fork:
git push origin your-branch-name -
Create a pull request to the dev branch of the original repository with some information about your changes.
Development
- Install rust and tauri refer to this link
- Known working version of Rust is
rustc 1.85.1 (4eb161250 2025-03-15).
- Known working version of Rust is
- Install dependencies
npm install
✨ Run & Build
- Run the project
npm run tauri dev
- Build the project
npm run tauri build --release
- Note:
- for build release we use github actions to build the project and upload the build to github release. You can check the build workflow here
- If you want to host your own update release on your GitHub, simply generate your own signing key and replace the signing key in
tauri.conf.jsonrefer to tauri doc. Otherwise, during the build, you can ignore the password being asked after the build completes.