this post was submitted on 30 Jun 2024
76 points (100.0% liked)
Free and Open Source Software
17911 readers
41 users here now
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How do I compile from source? I would like to see that in the readme
It uses a makefile, you can just type
make
while in the pride-system-icon directory.On Windows you may need to install GNU make first.
You'll need to have Go installed, I've added a
vendor
directory to make it easier. The compiled files will be placed indist/windows/prideicon.exe
anddist/linux/prideicon
Here are the commands to compile without using make:
go build -mod vendor -tags linux -o prideicon
go build -mod vendor -tags windows -ldflags -H=windowsgui -o prideicon.exe
Thanks.
I also added a section to the project readme, thanks for the suggestion.