This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [electron-builder](https://redirect.github.com/electron-userland/electron-builder) ([source](https://redirect.github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder)) | [`26.8.0` → `26.8.1`](https://renovatebot.com/diffs/npm/electron-builder/26.8.0/26.8.1) |  |  | | [happy-dom](https://redirect.github.com/capricorn86/happy-dom) | [`20.6.1` → `20.6.2`](https://renovatebot.com/diffs/npm/happy-dom/20.6.1/20.6.2) |  |  | --- ### Release Notes <details> <summary>electron-userland/electron-builder (electron-builder)</summary> ### [`v26.8.1`](https://redirect.github.com/electron-userland/electron-builder/blob/HEAD/packages/electron-builder/CHANGELOG.md#2681) [Compare Source](https://redirect.github.com/electron-userland/electron-builder/compare/electron-builder@26.8.0...electron-builder@26.8.1) ##### Patch Changes <details><summary>Updated 3 dependencies</summary> <small> [`4edd695`]( |
||
|---|---|---|
| .. | ||
| build | ||
| .gitignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| build.js | ||
| cliff.toml | ||
| main.js | ||
| package.json | ||
| pnpm-lock.yaml | ||
| portInUse.js | ||
README.md
Vikunja desktop
The Vikunja frontend all repackaged as an electron app to run as a desktop app!
Dev
As this package does not contain any code, only a thin wrapper around electron, you will need to do this to get the actual frontend bundle and build the app:
First, build the frontend:
cd ../frontend
pnpm install
pnpm run build
Then, copy the frontend to this directory:
cd desktop
cp -r ../frontend/dist frontend/
sed -i 's/\/api\/v1//g' frontend/index.html # Make sure to trigger the "enter the Vikunja url" prompt
Then you can run the desktop app like this:
pnpm install
pnpm start
Building for release
- Run the snippet from above, but with a valid frontend version instead of
unstable - Change the version in
package.json(that's the one that will be used by electron-builder) pnpm installpnpm run dist --linux --windows
License
This project is licensed under the GPL-3.0-or-later license. See the LICENSE file for details.