-
Notifications
You must be signed in to change notification settings - Fork 123
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
WAU with mods enabled #59
Conversation
@Romanitho User "GAJ-san" is "KnifMelti@Work" :=) |
maybe few optimisations ? :p
and then
|
Ah, you can do that... |
Yes. In this way we don't have to handle the split |
But, if there's only an upgrade file then the install variable doesn't get cleared and may contain the previous content from the loop if the previous app had an install mod. |
|
Then, if variables are reset each time a function is called there's no issue at all. Another thing; in this I modified (then deleted the modifications) in Update-WAU.ps1 and Winget-AutoUpdate-Install.ps1 (the mods directory). |
@KnifMelti quick question. If you want to run a script with your Mods feature, but don't want to copy it in the WAU Mods folder. Is it possible ? Let's imagine an app you want to install with specific config that you apply with your mods, but then, not necessary to run it on each new version. |
You mean in the winget install...
|
I haven't tested it yet, but it feels/looks right ;) |
I like the idea :) |
Have tested a lot, it seems all good and nothing broken as far as I can tell.
Some mistakes were reverted.