From 23e757d1f94dbd9573b6a7eae42f8394f4e5a988 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Tue, 26 Apr 2022 20:50:32 -0700 Subject: [PATCH] use ssl insecure build for testing and ssl secure build for building --- build_win.cmd | 6 ++++++ setup_win.cmd | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build_win.cmd b/build_win.cmd index 0447f82..2b89945 100644 --- a/build_win.cmd +++ b/build_win.cmd @@ -1,9 +1,15 @@ @echo off +:: This binary is the SSL-secure release +set BINARY_URL="https://github.com/SpikeHD/neutralinojs/releases/download/v420.69.0/neutralino-win_x64.exe" + :: Clean dist folder del /s /q /f .\dist rd /s /q .\dist +:: Get the SSL-secure version of the binary +powershell Invoke-WebRequest -Uri %BINARY_URL% -OutFile "./bin/neutralino-win_x64.exe" + :: build call neu build diff --git a/setup_win.cmd b/setup_win.cmd index b45a354..6f110b4 100644 --- a/setup_win.cmd +++ b/setup_win.cmd @@ -1,6 +1,6 @@ @echo off -set BINARY_URL="https://github.com/SpikeHD/neutralinojs/releases/latest/download/neutralino-win_x64.exe" +set BINARY_URL="https://github.com/SpikeHD/neutralinojs/releases/download/v1337.0.0/neutralino-win_x64.exe" call npm install