this post was submitted on 11 Jun 2025
395 points (100.0% liked)

Gaming

5450 readers
501 users here now

!gaming is a community for gaming noobs through gaming aficionados. Unlike !games, we don’t take ourselves quite as serious. Shitposts and memes are welcome.

Our Rules:

1. Keep it civil.


Attack the argument, not the person. No racism/sexism/bigotry. Good faith argumentation only.


2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry.


I should not need to explain this one.


3. No bots, spam or self-promotion.


Only approved bots, which follow the guidelines for bots set by the instance, are allowed.


4. Try not to repost anything posted within the past month.


Beyond that, go for it. Not everyone is on every site all the time.



Logo uses joystick by liftarn

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 39 points 1 month ago* (last edited 1 month ago) (2 children)

it opens automatically for programs without guis that forget to set the "please don't show cmd" flag. i made a program for my grandmother to automatically sort her photos and it would always flicker that damn window because i couldn't figure out how to set the flag from Go :(

[–] [email protected] 10 points 1 month ago

Now, that's sweet

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

go build "-ldflags -H=windowsgui"
Or do you mean with exec?

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

that is what i used but i could not get it to work, possibly because the program did not have a gui either. it was just supposed to be a "button" in the file explorer.

[–] [email protected] 1 points 1 month ago (1 children)

Huh, strange. That sounds really annoying if every time I press a button a terminal flashes on screen.

[–] [email protected] 2 points 1 month ago (1 children)

for a poweruser yeah but this is my grandmother we're talking about. she only used the program once every six months, when her camera ran out of space and she emptied it onto the computer.

[–] [email protected] 1 points 1 month ago

You wrote an add-on for your grandma? That's cool