mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-04-03 14:06:27 +00:00
Update changes applied text
This commit is contained in:
@@ -141,7 +141,7 @@
|
|||||||
Style="{DynamicResource ModalTitleStyle}"/>
|
Style="{DynamicResource ModalTitleStyle}"/>
|
||||||
|
|
||||||
<TextBlock x:Name="ApplyCompletionMessage"
|
<TextBlock x:Name="ApplyCompletionMessage"
|
||||||
Text="All changes have been applied successfully!"
|
Text="Your clean system is ready. Thanks for using Win11Debloat!"
|
||||||
Style="{DynamicResource ModalSubtextStyle}"/>
|
Style="{DynamicResource ModalSubtextStyle}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ function Show-ApplyModal {
|
|||||||
if ($script:CancelRequested) {
|
if ($script:CancelRequested) {
|
||||||
Write-Host "Script execution was cancelled by the user. Some changes may not have been applied."
|
Write-Host "Script execution was cancelled by the user. Some changes may not have been applied."
|
||||||
} else {
|
} else {
|
||||||
Write-Host "All changes have been applied successfully."
|
Write-Host "All changes have been applied successfully!"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Show completion state
|
# Show completion state
|
||||||
@@ -125,7 +125,7 @@ function Show-ApplyModal {
|
|||||||
$script:ApplyCompletionMessageEl.Text = "Script execution was cancelled by the user."
|
$script:ApplyCompletionMessageEl.Text = "Script execution was cancelled by the user."
|
||||||
} else {
|
} else {
|
||||||
$script:ApplyCompletionTitleEl.Text = "Changes Applied"
|
$script:ApplyCompletionTitleEl.Text = "Changes Applied"
|
||||||
$script:ApplyCompletionMessageEl.Text = "All changes have been applied successfully!"
|
$script:ApplyCompletionMessageEl.Text = "Your clean system is ready. Thanks for using Win11Debloat!"
|
||||||
}
|
}
|
||||||
$applyWindow.Dispatcher.Invoke([System.Windows.Threading.DispatcherPriority]::Render, [action]{})
|
$applyWindow.Dispatcher.Invoke([System.Windows.Threading.DispatcherPriority]::Render, [action]{})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user