Skip to content

Commit 7243051

Browse files
committed
--source winget for Python
1 parent e40318c commit 7243051

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mtkclient_installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ def get_ver(cmd_list): # version string helper
730730
installed = False
731731
for py_id, use_exact in candidates:
732732
self.log_summary.emit(f"Attempting to install {py_id}...\n")
733-
cmd = ["winget", "install", "--id", py_id]
733+
cmd = ["winget", "install", "--id", py_id, "--source", "winget"]
734734
if use_exact: cmd.append("-e")
735735
cmd.extend(["--scope", "machine", "--accept-package-agreements", "--accept-source-agreements",
736736
"--override", '/passive PrependPath=1 Include_test=0'])

0 commit comments

Comments
 (0)