Skip to content

Commit

Permalink
Add readme note on running dev desktop on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
EmiM committed Oct 2, 2023
1 parent 5909a96 commit 90f37eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/desktop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@ npm run start
```
----

## Running dev desktop on Windows

Bootstrap scripts has been adjusted to work on Windows (powershell or cmd) hovewer there still may be a problem with patching.
Getting error:

```
webpack://@quiet/backend/./node_modules/electron/index.js?:9
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
```

while running desktop may mean that applying patch in packages/backend (`npm run applyPatches`) did not work correctly.
If that's the case file must be patched manually according to `electron-fetch-git.patch` and backend must be rebuilt by running `npm run webpack` in packages/backend.


## Versioning packages

Before trying to release a new version, make sure you have `GH_TOKEN` env set.
Expand Down

0 comments on commit 90f37eb

Please sign in to comment.