Created
May 1, 2022 00:09
-
-
Save BraINstinct0/6af31baac6b6332ff7ddebbb12f3b651 to your computer and use it in GitHub Desktop.
PS script to add GOG version info to registry, so that WinGet can recognize it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{7258BA11-600C-430E-A759-27E2C691A335}_is1" -Name DisplayVersion -Value ((Get-ItemProperty -Path HKLM:\SOFTWARE\WOW6432Node\GOG.com\GalaxyClient -Name version).version) -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Must be run with Admin previliges.