Skip to content

Commit

Permalink
Removed hardcoded log
Browse files Browse the repository at this point in the history
  • Loading branch information
Hope-IT-Works committed Oct 27, 2024
1 parent d378bfe commit b3b22c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/PS2EXE-GUI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@ function Invoke-PS2EXE {
Add-PS2EXEGUI_ConsoleLog -Line ($PS_LINE+$PS_LNB+'CALL: '+[string]$PS2EXE_CMD) -NoLineBreak
$PS2EXE_CALL = cmd /U /C $PS2EXE_CMD
$PS2EXE_CALL = $PS2EXE_CALL -join $PS_LNB
Set-Content -Path "C:\Users\Tobias\GitHub\PS2EXE-GUI\src\Log.txt" -Value ($PS2EXE_CALL) -NoNewline
if($LASTEXITCODE -ne 0){
Add-PS2EXEGUI_ConsoleLog -Line ($PS_LINE+$PS_LNB+'ERROR: '+[string]$Error)
Add-PS2EXEGUI_ConsoleLog -Line ($PS_LINE+$PS_LNB+'ERROR: '+[string](Get-Error))
Expand Down

0 comments on commit b3b22c2

Please sign in to comment.