Skip to content

Development

goprocker edited this page Nov 11, 2026 · 4 revisions

Development

Set up

You need Windows 10 1903+ or 11, PowerShell 5.1, Node.js 22 or 24, and Git.

git clone https://github.com/goprocker/Islet.git
cd Islet
npm install
npm start

Code changes apply on restart. Quit any installed Islet first, since only one copy runs.

Test

npm test                            # node --test test/*.test.js (361 tests in 52 files)
node scripts/check-build-files.js   # also run by CI

To run the tests before every push: git config core.hooksPath .githooks.

Debug

node_modules\electron\dist\electron.exe . --remote-debugging-port=9333

Then open chrome://inspect in Chrome. Useful globals in the notch page: setOpen(true), render().

Adding a module

Put new main-process .js, .ps1 or .cs files in src/. The installer ships src/**, and CI fails if a module is left at the repo root. Paths from src/ to renderer/, settings/, assets/ or hooks/ go through ...

Build an installer

npm run dist      # from PowerShell; it fails under Git Bash

The installer lands in dist\.

Line endings

Most files use CRLF. Keep \r\n when you edit files with scripts.

See CONTRIBUTING.md for pull request rules.

Clone this wiki locally