Skip to content

Commit

Permalink
Update itt.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
emadadel4 committed Jun 15, 2024
1 parent 3098a1f commit cca9446
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion itt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8902,16 +8902,23 @@ function Invoke-Install {

try
{

# Retrieve localized messages for confirmation dialog and UI elements
$areyousuremsg = $sync.database.locales.$($sync.Langusege).InstallMessage
$installBtn = $sync.database.locales.$($sync.Langusege).installBtn
$downloading = $sync.database.locales.$($sync.Langusege).downloading

# Show confirmation dialog
$result = [System.Windows.MessageBox]::Show("[$($selectedApps.Count)] $areyousuremsg ", "ITT | Emad Adel", [System.Windows.MessageBoxButton]::YesNo, [System.Windows.MessageBoxImage]::Question)


$sync['window'].Dispatcher.Invoke([Action]{
$sync["window"].Activate()
})

if($result -eq "Yes")
{


# start ProcessRunning
$sync.ProcessRunning = $true

Expand Down

0 comments on commit cca9446

Please sign in to comment.