Update install.sh Missing "$"

This was making the test failing and the script was downloading the installer each time, even if the installer file already exist.
This commit is contained in:
Jiyone
2024-03-26 12:31:35 +01:00
committed by GitHub
parent 8e561c55c1
commit 25bd29ca22

View File

@@ -325,7 +325,7 @@ function SP_FUSION360_INSTALLER_LOAD {
function SP_WEBVIEW2_INSTALLER_LOAD { function SP_WEBVIEW2_INSTALLER_LOAD {
# Search for a existing installer of WEBVIEW2 # Search for a existing installer of WEBVIEW2
WEBVIEW2_INSTALLER="$SP_PATH/downloads/WebView2installer.exe" WEBVIEW2_INSTALLER="$SP_PATH/downloads/WebView2installer.exe"
if [ -f "WEBVIEW2_INSTALLER" ]; then if [ -f "$WEBVIEW2_INSTALLER" ]; then
echo "The WebView2installer installer exist!" echo "The WebView2installer installer exist!"
else else
echo "The WebView2installer installer doesn't exist and will be downloaded for you!" echo "The WebView2installer installer doesn't exist and will be downloaded for you!"