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
 

Just a little system tray icon to show support for the LGBTQ+ community.

Originally created last year as a simple one-off project in response to Windows 11 users getting mad about a pride icon appearing on their task bar.

This year I remade it in Go, added support for Windows (7 and up), and improved compatibility with a variety of Linux environments.

Let me know what you think, or don’t, just please be nice about it.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 4 months ago (1 children)

How do I compile from source? I would like to see that in the readme

[–] [email protected] 5 points 4 months ago* (last edited 4 months ago) (1 children)

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 in dist/windows/prideicon.exe and dist/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

[–] [email protected] 1 points 4 months ago (1 children)
[–] [email protected] 3 points 4 months ago

I also added a section to the project readme, thanks for the suggestion.