An attempt at a native discord client for FreeBSD.
pkg install electron25
pkg install node20
pkg install npm-node20
electron.mk (/usr/ports/Mk/Uses/electron.mk)
get electron.mk
here: https://github.com/tagattie/FreeBSD-Electron/tree/master/Mk/Uses
you can download DiscordBSD from the releases: https://github.com/SrWither/DiscordBSD/releases/
clone the repository:
git clone https://github.com/SrWither/DiscordBSD
first you need to run the build.sh
script.
the script will ask you to elevate permissions to be able to package the application in a binary, the permissions are due to the use of bsd.mk
.
if everything compiled without errors, run the install.sh
script.
the color scheme is from discord nitro
if you click on the icon, it will focus on the window