File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Write-Host -ForegroundColor Red " `$`$/
2222Write-Host " "
2323
2424$package = " superfile"
25- $version = " 1.3.0"
25+ $version = if ( $ env: SPF_INSTALL_VERSION ) { $ env: SPF_INSTALL_VERSION } else { " 1.3.0" }
2626
2727$installInstructions = @'
2828This installer is only available for Windows.
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ if [ $? -ne 0 ]; then
3939fi
4040
4141package=superfile
42- version=1.3.0
42+ version=${SPF_INSTALL_VERSION :- 1.3.0}
4343arch=$( uname -m)
4444os=$( uname -s)
4545
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ Write-Host -ForegroundColor Red " `$`$/
2222Write-Host " "
2323
2424$package = " superfile"
25- $version = " 1.3.0"
2625
2726$installInstructions = @'
2827This uninstaller is only available for Windows.
You can’t perform that action at this time.
0 commit comments