File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 11param (
2- [switch ]$Debug ,
32 [switch ]$Run ,
43 [string ]$Arguments
54)
@@ -106,17 +105,10 @@ $xaml
106105
107106$script_content.Add ($ (Get-Content " scripts\main.ps1" ))
108107
109- if ($Debug ) {
110- Update-Progress " Writing debug files" 95
111- $appXamlContent | Out-File - FilePath " xaml\inputApp.xaml" - Encoding ascii
112- $tweaksXamlContent | Out-File - FilePath " xaml\inputTweaks.xaml" - Encoding ascii
113- $featuresXamlContent | Out-File - FilePath " xaml\inputFeatures.xaml" - Encoding ascii
114- } else {
115- Update-Progress " Removing temporary files" 99
116- Remove-Item " xaml\inputApp.xaml" - ErrorAction SilentlyContinue
117- Remove-Item " xaml\inputTweaks.xaml" - ErrorAction SilentlyContinue
118- Remove-Item " xaml\inputFeatures.xaml" - ErrorAction SilentlyContinue
119- }
108+ Update-Progress " Removing temporary files" 99
109+ Remove-Item " xaml\inputApp.xaml" - ErrorAction SilentlyContinue
110+ Remove-Item " xaml\inputTweaks.xaml" - ErrorAction SilentlyContinue
111+ Remove-Item " xaml\inputFeatures.xaml" - ErrorAction SilentlyContinue
120112
121113Set-Content - Path " $scriptname " - Value ($script_content -join " `r`n " ) - Encoding ascii
122114Write-Progress - Activity " Compiling" - Completed
You can’t perform that action at this time.
0 commit comments