mirror of
https://github.com/zoicware/RemoveWindowsAI.git
synced 2026-03-20 01:26:18 +01:00
enable supressfirstlaunch for gaming copilot to hide on new machines
This commit is contained in:
@@ -1031,6 +1031,9 @@ function Disable-Registry-Keys {
|
|||||||
#this prop needs to be true to hide from favorites
|
#this prop needs to be true to hide from favorites
|
||||||
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $true
|
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $true
|
||||||
}
|
}
|
||||||
|
elseif ($prop.Name -eq 'suppressFirstLaunch') {
|
||||||
|
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $true
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $false
|
$jsonObj.profile.settingsStorage.$($hasGamingCopilot.Name).$($prop.Name) = $false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user