diff --git a/docs/develop-logseq.md b/docs/develop-logseq.md index 91a602123..e248431fa 100644 --- a/docs/develop-logseq.md +++ b/docs/develop-logseq.md @@ -24,12 +24,14 @@ yarn watch Then open the browser . -### Production +### Production Build ```bash yarn release ``` +The released files will be at `resources/` directory. + ## Desktop app development ### Development @@ -39,6 +41,7 @@ yarn release ``` bash yarn install ``` + 2. Compile to JavaScript and open the dev app ```bash @@ -52,9 +55,23 @@ yarn dev-electron-app Alternatively, run `bb dev:electron-start` to do this step with one command. To download bb, see https://github.com/babashka/babashka#installation. -### Production +3. (Optional) Update dependencies if your are updating from an old branch + +```bash +# pull new changes +git pull + +cd static && yarn install && cd .. +``` + +Here `static/` is generated by `yarn watch` command. + +### Production Build + Build a release: ```bash yarn release-electron ``` + +The final released binaries or installers will be at `static/out/`.