azat/chdig

Binaries for Windows

Closed this issue · 14 comments

  • cargo install just not works
  • just simple .tar.gz is enough for scoop.sh and chocolatelly

@azat

https://gitlab.redox-os.org/redox-os/termion/-/issues/103
https://gitlab.redox-os.org/redox-os/termion/-/issues/178
it could be resolved by

cursive = { version = "*", default-features = false, features = ["crossterm-backend"] }

but
lotabout/skim#546
still unresolved

azat commented

gitlab.redox-os.org/redox-os/termion/-/issues/103
gitlab.redox-os.org/redox-os/termion/-/issues/178
it could be resolved by

Yes, using crossterm is an option, and with buffered backend it works more or less OK, though it does have some flickering (after opening flamegraphs by some reason, but I guess this could be fixed).

but
lotabout/skim#546
still unresolved

skim can be turned off for windows (I wouldn't expect too much windows users)

azat commented

cargo install just not works

Plain cargo commands does not work (sadly), due to pyo3.
But you can use make install

azat commented

scoop.sh and chocolatelly

I'm not familiar with scoop.sh (I've just looked and seems that one more package manager), but adding it to chocolatelly would be great!

I will create scoop.sh package easily, need only github releases with .exe

azat commented

FWIW Also crossterm backend does not supports shortcuts for Alt-<Key> (trigger just as <Key>)

;( sad, looks like most popular rust TUI packages developed not for real desktop os which still have 69% of market share

how to turn off skim depends on windows?
I can prepare windows related PR

azat commented

how to turn off skim depends on windows?

It should be made optional by moving it under target.'cfg(any(unix, macos))'.dependencies, and them make code for skim also only for unix.
But even without skim there are some issues with pyoxidizer (at least when I tried it)

azat commented

@Slach Windows artifacts available here - https://github.com/azat/chdig/releases/tag/latest (it even should support OpenSSL, but they should be installed on the system)

Though there are some issues with them right now - #21 (and maybe something else, if you want to resolve some of this - I would love to accept patches, windows is not something that I use or want to use...)

azat commented

I will create scoop.sh package easily, need only github releases with .exe

Can you please continue on this one? (moved it into a separate issue - #22)

thanks for your efforts

yes binaries run and work
i will create and submit scoop.sh package after next release

azat commented

i will create and submit scoop.sh package after next release

Next release is ready - https://github.com/azat-archive/chdig/releases/tag/v0.6.0

scoop package created
wait when merge
ScoopInstaller/Main#5374

azat commented

FWIW Also crossterm backend does not supports shortcuts for Alt- (trigger just as )

Actually it looks it does support them on windows - gyscos/cursive#411 (comment)

Need to verify though