mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
* update installer for window's winget & add proper versioning to the installer - also fixed plugins not being referenced properly * changed passing version to installer.nsi from an include file instead of args * Fix local favorites import * Fix instance info disabled content settings & VR overlay warning * fix change autoUpdateVRCX * Search by userNotes, notes in playerList and friendsList * Cef v137.0.100 * Electron v36.4.0 --------- Co-authored-by: Natsumi <cmcooper123@hotmail.com> Co-authored-by: pa <maplenagisa@gmail.com>
16 lines
658 B
Batchfile
16 lines
658 B
Batchfile
setlocal
|
|
|
|
:: Retrieve the version string from the 'Version' file located in the parent directory.
|
|
:: Load version from file into environment variable
|
|
for /f "usebackq delims=" %%v in ("..\Version") do set "VERSION=%%v"
|
|
set "VERSION=%VERSION%.0"
|
|
|
|
:: Append ".0" to the version. This converts 'X.X.X' to 'X.X.X.0',
|
|
:: satisfying NSIS's strict four-part version format (e.g., for VIProductVersion).
|
|
:: Winget will treat 'X.X.X.0' as equal to 'X.X.X', so it won't trigger an unnecessary update.
|
|
echo !define PRODUCT_VERSION_FROM_FILE "%VERSION%" > version_define.nsh
|
|
|
|
:: Compile the NSIS installer.
|
|
"C:\Program Files (x86)\NSIS\makensis.exe" installer.nsi
|
|
|
|
pause |