diff --git a/functions/public/Invoke-WPFImpex.ps1 b/functions/public/Invoke-WPFImpex.ps1 index 9b03cc13..43d835de 100644 --- a/functions/public/Invoke-WPFImpex.ps1 +++ b/functions/public/Invoke-WPFImpex.ps1 @@ -41,6 +41,8 @@ function Invoke-WPFImpex { if ($type -eq "export") { $jsonFile = Get-WinUtilCheckBoxes -unCheck $false $jsonFile | ConvertTo-Json | Out-File $FileBrowser.FileName -Force + $runscript = "iex ""& { `$(irm christitus.com/win) } -Config '$($FileBrowser.FileName)'""" + $runscript | Set-Clipboard } if ($type -eq "import") { $jsonFile = Get-Content $Config | ConvertFrom-Json diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 370246cb..b6097a17 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -782,8 +782,16 @@ HorizontalAlignment="Right" VerticalAlignment="Top"> - - + + + + + + + + + +