mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 14:45:52 -06:00
move restore point to runspace (#1056)
This commit is contained in:
parent
051b770661
commit
bbab426508
@ -22,13 +22,13 @@ function Invoke-WPFtweaksbutton {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
Set-WinUtilRestorePoint
|
|
||||||
|
|
||||||
Invoke-WPFRunspace -ArgumentList $Tweaks -ScriptBlock {
|
Invoke-WPFRunspace -ArgumentList $Tweaks -ScriptBlock {
|
||||||
param($Tweaks)
|
param($Tweaks)
|
||||||
|
|
||||||
$sync.ProcessRunning = $true
|
$sync.ProcessRunning = $true
|
||||||
|
|
||||||
|
Set-WinUtilRestorePoint
|
||||||
|
|
||||||
Foreach ($tweak in $tweaks){
|
Foreach ($tweak in $tweaks){
|
||||||
Invoke-WinUtilTweaks $tweak
|
Invoke-WinUtilTweaks $tweak
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user