Skip to content

Commit

Permalink
#1833 add check && add to file scoped
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Dec 13, 2024
1 parent fe02d7a commit 7b18326
Show file tree
Hide file tree
Showing 2 changed files with 258 additions and 254 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ public MacCodeSign(ISelectorStorage selectorStorage, IWebLogger logger)
return null;
}

if ( !_hostFileSystemStorage.ExistFile(exeFile) )
{
return null;
}

// command.run does not care about the $PATH
var result = await Command.Run(CodeSignPath, "--force", "--deep", "-s", "-", exeFile).Task;
if ( result.Success )
Expand Down
Loading

0 comments on commit 7b18326

Please sign in to comment.