1.9 KiB
Contributing
⚠️ Before you implement any changes, create a new issue / discussion so we can discuss it first and decide if we should add it.
How to contribute
If you want to contribute, or you just want to run the app in dev mode, see the guide below
Prerequisites
-
Install Node.js version specified in the package.json >
engines.node -
Install Rust and other required libs for your platform: https://v2.tauri.app/start/prerequisites
Steps
-
Switch to required
Nodeversion. -
Fork the project and clone it.
-
Change working directory and go to the
mainbranch
cd sigma-file-manager
git switch main
- Install dependencies:
npm i
- Don't forget to setup your git config locally (for this project) if you are not using the global config:
git config user.name "Your Name Here"
git config user.email your@email.example
- Run the app in dev mode
npm run tauri:dev
On Linux, if you see any visual issues, try this
npm run tauri:dev:webkit-igpu
-
Implement your changes only after the issue / discussion is accepted
-
Pull changes. The code base is updated frequently, so make sure you pull the latest changes from Github, install dependencies if they were updated, merge conflicts with your feature, before sending your changes or running / building the app:
git pull && npm i
- Run this script to make sure there's no issues with code
npm run check
- Build the app to make sure there's no issues with building
npm run tauri:build
The build can be configured in the ./vite.config.ts file.
Known issues with the app
Linux
When running on proprietary Nvidia (or unsupported) drivers, you may encounter different visual issues.
To run the AppImage build on a Linux system with unsupported drivers, run the app with the compositing flag, for example:
env WEBKIT_DISABLE_COMPOSITING_MODE=1 ./{FILE_NAME}.AppImage