Skip to content

fix: Correctly pass value of WingetSourceCustom, Fixes #1043#1135

Open
Salamek wants to merge 3 commits intoRomanitho:developfrom
Salamek:main
Open

fix: Correctly pass value of WingetSourceCustom, Fixes #1043#1135
Salamek wants to merge 3 commits intoRomanitho:developfrom
Salamek:main

Conversation

@Salamek
Copy link

@Salamek Salamek commented Mar 14, 2026

Correctly pass value of WingetSourceCustom, to required functions and replace hardcoded -s 'winget' with -s $src

Proposed Changes

WAU allows to set WAU_WingetSourceCustom registry key to specify what repository should WAU work with, but this key value is used only in few places, in rest it was hardcoded to 'winget' making autoupdates impossible

Note: I did not change hardcoded stuff in Winget-Install.ps1 since header says "Deprecated in favor of Winget-AutoUpdate." so i assume it is not needed there

Related Issues

#1043

@github-actions github-actions bot added the invalid-branch Invalid branch label Mar 14, 2026
@Salamek Salamek changed the base branch from main to develop March 14, 2026 16:01
@github-actions github-actions bot removed the invalid-branch Invalid branch label Mar 14, 2026
@Romanitho
Copy link
Owner

Hi, thanks for your contribution!

Regarding Winget-Install.ps1: the comment mentioning it is 'deprecated' is actually outdated and should be removed. This script was ported from the archived Winget-Install project and is still actively used here. Therefore, feel free to apply your changes to this file as well!

@Salamek Salamek deployed to megalinter March 20, 2026 13:54 — with GitHub Actions Active
@Salamek
Copy link
Author

Salamek commented Mar 21, 2026

Ok i have added -Source parameter to Winget-Install that defaults to 'winget' when not provided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants