This document is work in progress. If you run into issues while building, open an issue.
- yarn
- git
- Visual C++ Build Tools
- node-gyp
- Node 20
- Windows 10 or later (no testing was done for older versions)
- a good internet connection to download dependencies
Run the following commands:
cd C:\
git clone https://github.com./astudentinearth/darkwrite
cd darkwrite
yarn
yarn build:desktop
See the troubleshooting section below if the build fails.
An installer should appear in packages/app-desktop/release/
, under a subdirectory which is named after the compiled version number.
Run the command below to ensure the module is compiled against the correct node and electron version.
yarn workspace @darkwrite/app-desktop install_app_deps
Clone the repository to the root of your C:\
drive and run the build commands in an admin shell (run your terminal as administrator). This fixed issues on my end a few times, it might be completely unrelated but I'm leaving this here just in case.
Note
These instructions were tested on Fedora 41, however any mainstream and recent distribution should work.
- yarn
- Node 20 (using nvm is recommended)
- git
git clone https://github.com./astudentinearth/darkwrite
cd darkwrite
yarn
yarn build:desktop
You can find your AppImage in packages/app-desktop/release/<version>/
Warning
These instructions have not been tested, though it should work anyways.
Warning
Neither code signing nor notarization was set up for Darkwrite. You will need to create an exception for it. This Apple support page explains how to create an exception.
- yarn
- Node 20
- git (install whatever XCode provides)
git clone https://github.com./astudentinearth/darkwrite
cd darkwrite
yarn
yarn build:desktop
You can find your dmg in packages/app-desktop/release/<version>/