Thank you for your interest in contributing to Clash Verge Rev! This document provides guidelines and instructions to help you set up your development environment and start contributing.
Before you start contributing to the project, you need to set up your development environment. Here are the steps you need to follow:
If you're a Windows user, you may need to perform some additional steps:
patch
tool should be installedAfter installing Rust and Node.js, install the necessary Node.js packages:
pnpm i
You have two options for downloading the clash binary:
Automatically download it via the provided script:
pnpm run check
# Use '--force' to force update to the latest version
# pnpm run check --force
Manually download it from the Clash Meta release. After downloading, rename the binary according to the Tauri configuration.
To run the development server, use the following command:
pnpm dev
# If an app instance already exists, use a different command
pnpm dev:diff
If you want to build the project, use:
pnpm build
Once you have made your changes:
We appreciate your contributions and look forward to your active participation in our project!