-
Notifications
You must be signed in to change notification settings - Fork 66
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
Simplify installation process #232
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, this would simplify alot and prevent a lot of problems related to local git repos.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are some fantastic and welcomed changes. Unfortunately my computer is out of order currently so I have not been able to test these changes. Based on a cursory inspection, LGTM.
@LDprg Could you test this on your system? |
I will take a look soon, but I am currently very low on time. |
On which Distro (I'm daily driving NixOS at the moment) would you like me to test this @oskardotglobal (Debian or ArchLinux ?) looking to move forward #234 |
I also run Nix and I've tested it there, but if you test it on another distro try Debian |
Ran into this issue after installing deps (curl and dialog) @oskardotglobal |
@AkechiShiro This should fix your problem |
Seem to have an issue again @oskardotglobal I don't think you're checking if the current user is in I'm just trying it as a total Linux newbie to make sure we squash easy stuff early on. Current user + manual => currently testing. |
These issues are not related to this PR, but need addressing anyways |
Seems freerdp3 is not available on Debian... I probably need to enable backports from unstable branches : https://packages.debian.org/bookworm-backports/freerdp3-x11 This will need documentation, opened #243 |
Either that or use Flatpak, but that's kind of broken |
Or you know, just tell everyone to install the Nix package manager and install WinApps through there |
We both know that's not gonna work out XD, but someday maybe Nix will become mainstream |
We can ship Nix with Winapps and have it pull freerdp3 |
We can always dream ;D Nix-bundle seems like a good idea, we can experiment with that |
Actually, it seems like not that straight forward. It seems we'd need our package to be on nixpkgs or at least inside a nixpkgs fork and our package emits 2 binaries whilst nix-bundle seems to only emit one. This might be fixable if we split installer and winapps itself into two nix packages though |
I think this PR can be merged now though, we can continue this discussion in #234. |
I thought I'd have time to do a retest before the merge, so we can identify potential improvement points and mark them as open issues, that would get resolved in further PRs. |
I did test this extensively, but the bugs you are facing are unrelated to this PR itself; they are general problems with how the installer works. |
Then we should open issue to track them, because I don't know them by heart on my side and I will forget about them after a few weeks |
This PR does the following:
installer.sh
is renamed tosetup.sh
setup.sh
andbin/winapps
are now symlinked to$BIN_PATH
$BIN_PATH
is on$PATH
~/.local/bin/winapps