Skip to content

Commit

Permalink
Write-Step was a custom def in the psi script...facepalm
Browse files Browse the repository at this point in the history
  • Loading branch information
fraguada committed Nov 25, 2024
1 parent bada3d4 commit 80e55d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const run = async () => {
// check if Rhino has been installed

const registryPath = `HKLM:\\SOFTWARE\\McNeel\\Rhinoceros\\${version}.0\\Install`
command = `Write-Step "Successfully installed Rhino $([Version] (get-itemproperty -Path ${registryPath} -name "version").Version)"`
command = `$installedVersion = [Version] (get-itemproperty -Path ${registryPath} -name "version").Version ; Write-Output "Successfully installed Rhino $installedVersion"`

try {
const { stdout, stderr } = await execAsync(command, shell)
Expand Down

0 comments on commit 80e55d3

Please sign in to comment.