winapps-org/winapps

new setup.sh behaviour breaks installing/reinstalling from a local custom fork

Open

#249 opened on Sep 10, 2024

View on GitHub
 (3 comments) (1 reaction) (0 assignees)Shell (15,020 stars) (463 forks)batch import
good first issue

Description

The new behaviour of setup.sh is super unfriendly.

Running setup just re-clones the main repo to ~/.local/winapps-src and intalls from there - regardless of the repo being cloned locally already.

Not only is this doubling up on cloning, but BIG issue here is when you are wanting to install winapps from a custom local fork for testing . The current behaviour effectively ignores all local code, which forces all custom changes to be manually re-added each and every time setup is run.

I really think that setup should try to install from any local repo source first and certainly not ignore or overwrite customisations made to any local code. (This nearly caught me out testing a new PR, as I was thinking I was testing my own new code and all the while I wasn't testing anything new. )

Contributor guide

new setup.sh behaviour breaks installing/reinstalling from a local custom fork · winapps-org/winapps#249 | Good First Issue