Skip to content

Commit

Permalink
runner: fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Nov 17, 2024
1 parent b46ec4c commit a795444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner/main.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#_pragma icon $PSScriptRoot/../public/icon.ico
#_pragma title "fount"

if (!(Get-Command fount.ps1)) {
if (!(Get-Command fount.ps1 -ErrorAction Ignore)) {
Remove-Item $env:LOCALAPPDATA/fount -Confirm -ErrorAction Ignore -Recurse
if (Get-Command git -ErrorAction Ignore) {
try { git clone https://github.com/steve02081504/fount $env:LOCALAPPDATA/fount --depth 1 }
Expand Down

0 comments on commit a795444

Please sign in to comment.