Files

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

Steps

  1. Switch to required Node version.

  2. Fork the project and clone it.

  3. Change working directory and go to the main branch

cd sigma-file-manager
git switch main
  1. Install dependencies:
npm i
  1. 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
  1. 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
  1. Implement your changes only after the issue / discussion is accepted

  2. 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
  1. Run this script to make sure there's no issues with code
npm run check
  1. 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