this post was submitted on 10 Mar 2025
801 points (99.1% liked)

memes

12777 readers
3261 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo 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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] thevoidzero@lemmy.world 6 points 22 hours ago* (last edited 22 hours ago) (2 children)

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.

[–] AeonFelis@lemmy.world 3 points 17 hours ago

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.

[–] Lv_InSaNe_vL@lemmy.world 4 points 22 hours ago

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.