use ssl insecure build for testing and ssl secure build for building

This commit is contained in:
SpikeHD 2022-04-26 20:50:32 -07:00
parent 767d9fd234
commit 23e757d1f9
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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