-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #, if available: *Description of changes:* - Adds all dependencies needed to run lima/finch standalone - This includes a lot of DLLs, need a better way to automate this - TODO: after merge, need to modify Finch to set path when calling Lima so that these executables are actually used *Testing done:* - All exes work with an empty `%PATH%` (e.g. `$env:Path = ""; ssh.exe --help` works) - [x] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. --------- Signed-off-by: Justin Alvarez <[email protected]> Signed-off-by: Vishwas Siravara <[email protected]>
- Loading branch information
Showing
3 changed files
with
110 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
_output/ | ||
downloads/ | ||
wingit-temp/ | ||
*.idea | ||
*.DS_Store | ||
*.bak | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<# | ||
Verify file hashes using pure PowerShell | ||
#> | ||
param ( | ||
# Dependency file path | ||
[Parameter(Mandatory=$true)] | ||
[string]$DependencyFilePath, | ||
|
||
# Dependency hash | ||
[Parameter(Mandatory=$true)] | ||
[string]$DependencyHash = 'out.png' | ||
) | ||
|
||
if (!(Get-FileHash -Algorithm SHA256 "$DependencyFilePath").Hash -eq $DependencyHash) { | ||
$host.SetShouldExit(-1); exit | ||
} else { | ||
Write-Output "Verified $DependencyFilePath" | ||
} |