mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-08-14 13:11:48 +08:00
use ssl insecure build for testing and ssl secure build for building
This commit is contained in:
parent
767d9fd234
commit
23e757d1f9
@ -1,9 +1,15 @@
|
|||||||
@echo off
|
@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
|
:: Clean dist folder
|
||||||
del /s /q /f .\dist
|
del /s /q /f .\dist
|
||||||
rd /s /q .\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
|
:: build
|
||||||
call neu build
|
call neu build
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@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
|
call npm install
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user