No description
| .forgejo/workflows | ||
| .vscode | ||
| build | ||
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Nexcord Desktop
Download Nexcord
Click here to download the latest release.
Building
Prerequisites
- Node.js (v16 or higher)
- npm (comes with Node.js)
Installation
npm install
Building Installers
To build the installer for your current platform:
npm run app:dist
The built installer will be created in the dist/ folder.
Platform-specific builds:
- Windows: Creates an NSIS installer (
.exe) - macOS: Creates a DMG installer (
.dmg) - requires macOS to build - Linux: Creates both
.deband.AppImagepackages
To build for a specific platform:
npm run app:dist -- --win # Windows
npm run app:dist -- --mac # macOS
npm run app:dist -- --linux # Linux
Releasing
When you want to create a new release, follow these steps:
- Update the version in your project's
package.jsonfile (e.g.2.0.0). - Commit that change (
git commit -am v2.2.2) - Tag your commit (
git tag v2.2.2). - Push the branch and tag to Forgejo.
- Forgejo Actions will build the app when a tag matching
v*is pushed. - Create the Forgejo release in the web interface or through the API and attach the generated artifacts.
This repository is configured for Forgejo Actions via .forgejo/workflows/build-app.yml. The old GitHub-specific release action has been removed, so publishing release artifacts is now a Forgejo-side step after the tagged build finishes. If you want to change the build behavior, have a look at the electron-builder docs and the Forgejo Actions docs.