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

Windows support #142

Open
skelly37 opened this issue Jul 1, 2022 · 6 comments
Open

Windows support #142

skelly37 opened this issue Jul 1, 2022 · 6 comments
Labels
discussion Needs to be discussed

Comments

@skelly37
Copy link

skelly37 commented Jul 1, 2022

How about porting it to Windows? I'm not that cruel to force anyone to use batch, but there's plenty of solutions, e.g.:

  • nushell (portable between Mac/Linux/Windows)
  • powershell (decent shell)
  • some more generic programming language (also portable, plus could be compiled and more people could help with it)

But have you even tried to do it for Windows? If yes, why haven't you developed this?

Maybe I'm too optimistic but it seems like the core-logic would be pretty-much the same

@ObserverOfTime
Copy link
Collaborator

ObserverOfTime commented Jul 1, 2022

@bb010g wanted to port it to Rust at some point but that never went anywhere.

See BetterDiscord/Installer#52 (comment) for a basic PowerShell script.
It should still work as long as you update the app version in it.

The core logic is, in fact, not the same since the injection method is different.

@ObserverOfTime ObserverOfTime added the discussion Needs to be discussed label Jul 1, 2022
@skelly37
Copy link
Author

skelly37 commented Jul 2, 2022

@bb010g wanted to port it to Rust at some point but that never went anywhere.

See BetterDiscord/Installer#52 (comment) for a basic PowerShell script.
It should still work as long as you update the app version in it.

The core logic is, in fact, not the same since the injection method is different.

thanks for the reply, guess I’ll play with creating a cross-platform installer in nu.

@ObserverOfTime
Copy link
Collaborator

Which no one will use since they'd have to install the shell first.

@bb010g
Copy link
Owner

bb010g commented Aug 17, 2022

Installing the runtime is the big thing. (I also drafted a rewrite in Common Lisp once.) I like how betterdiscordctl is easy to edit. Deno might be a good choice, if it's easily installable on all the distros we care about.

@ObserverOfTime
Copy link
Collaborator

If we did rewrite it, I'd like it to be a static language like rust or go rather than depend on some runtime.

@SpamixOfficial
Copy link

I will try to make a python fork :D @skelly37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Needs to be discussed
Projects
None yet
Development

No branches or pull requests

4 participants