This fix avoids route patterns and instead uses a middleware to serve frontend files in express. The route pattern was causing errors in the path-to-regexp package used by express. Resolves https://github.com/go-vikunja/vikunja/issues/687 Resolves https://community.vikunja.io/t/the-state-of-the-windows-desktop-app/3618/4 |
||
|---|---|---|
| .. | ||
| 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 repo 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:
rm -rf frontend vikunja-frontend-master.zip
wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
unzip vikunja-frontend-master.zip -d frontend
sed -i 's/\/api\/v1//g' frontend/index.html # Make sure to trigger the "enter the Vikunja url" prompt
Building for release
- Run the snippet from above, but with a valid frontend version instead of
master - Change the version in
package.json(That's the one that will be used by electron-builder` yarn installyarn dist --linux --windows