Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binaries for Windows #12

Closed
2 tasks
Slach opened this issue Dec 17, 2023 · 14 comments · Fixed by #19
Closed
2 tasks

Binaries for Windows #12

Slach opened this issue Dec 17, 2023 · 14 comments · Fixed by #19
Labels
os::windows releases Releases and everything related to it - new arch support, packages for new OS (i.e. brew)

Comments

@Slach
Copy link

Slach commented Dec 17, 2023

  • cargo install just not works
  • just simple .tar.gz is enough for scoop.sh and chocolatelly
@Slach
Copy link
Author

Slach commented Dec 17, 2023

@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
Copy link
Owner

azat commented Dec 17, 2023

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
Copy link
Owner

azat commented Dec 17, 2023

cargo install just not works

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

@azat
Copy link
Owner

azat commented Dec 17, 2023

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!

@Slach
Copy link
Author

Slach commented Dec 17, 2023

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

@azat azat added the releases Releases and everything related to it - new arch support, packages for new OS (i.e. brew) label Dec 17, 2023
@azat
Copy link
Owner

azat commented Dec 17, 2023

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

@Slach
Copy link
Author

Slach commented Dec 18, 2023

;( 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

Slach added a commit to Slach/chdig that referenced this issue Dec 18, 2023
…ange to crossterm-backend for windows, need to think how to disable `skim` under windows, see details in lotabout/skim#546
@azat
Copy link
Owner

azat commented Dec 18, 2023

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 azat mentioned this issue Dec 20, 2023
@azat azat closed this as completed in #19 Dec 20, 2023
@azat
Copy link
Owner

azat commented Dec 20, 2023

@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
Copy link
Owner

azat commented Dec 20, 2023

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)

@Slach
Copy link
Author

Slach commented Dec 21, 2023

thanks for your efforts

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

@azat
Copy link
Owner

azat commented Dec 21, 2023

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

@Slach
Copy link
Author

Slach commented Dec 25, 2023

scoop package created
wait when merge
ScoopInstaller/Main#5374

@azat
Copy link
Owner

azat commented Mar 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os::windows releases Releases and everything related to it - new arch support, packages for new OS (i.e. brew)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants