this post was submitted on 10 Mar 2025
794 points (99.1% liked)
memes
12813 readers
3182 users here now
Community rules
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to !politicalmemes@lemmy.world
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads
No advertisements or spam. This is an instance rule and the only way to live.
A collection of some classic Lemmy memes for your enjoyment
Sister communities
- !tenforward@lemmy.world : Star Trek memes, chat and shitposts
- !lemmyshitpost@lemmy.world : Lemmy Shitposts, anything and everything goes.
- !linuxmemes@lemmy.world : Linux themed memes
- !comicstrips@lemmy.world : for those who love comic stories.
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
It's in rust. Problem is the gtk part, it has to be installed in the system, which makes it run there. But how do I distribute the program without having everyone install gtk on their computer. In Linux it's just a dependency so it's not a problem, for windows I can't seem to make it work.
Edit: also, I need gtk because people around me who uses windows aren't going to use CLI program at all.
If that's the reason - maybe you can use TUI instead? In Windows, it'd open a CMD window which your users will be able to use. Not as pretty as actual GUI, but easier for Windows users to use than a CLI.
Another option is to use one of the numerous Rust-native GUI libraries (like iced or Druid, to name a few). None of them are as big as GTK/QT - but they are easier to get running on Windows.
Oof GTK is probably one of the worst dependencies you can try and port to Windows.
What I've done in the past is use something like Onno Setup which can call a script during install.
Or, and this is new to me, use the Official tools to build a package for windows on whatever Linux distro you are on. From what I'm reading, it should package GTK with it.