The tray icon was loaded from desktop/build/icon.png, but build/ is electron-builder's default buildResources directory, whose contents are not packaged into the app. The icon therefore existed when running from source but was missing in every released build, leaving an empty tray icon. Load the icon from the packaged app root instead and add icon.png there, rendered from the circular logo.svg so it has transparent corners rather than the square full-bleed source artwork. Fixes #2668 |
||
|---|---|---|
| .. | ||
| build | ||
| .gitignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| build.js | ||
| cliff.toml | ||
| icon.png | ||
| main.js | ||
| oauth.js | ||
| package.json | ||
| pnpm-lock.yaml | ||
| portInUse.js | ||
| preload-quick-entry.js | ||
| preload.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.