Upgrade to 1.2.1
This commit is contained in:
@@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 3.3)
|
||||
|
||||
#Common Configuration Pre-setup
|
||||
set(SIADRIVE_VERSION 0.1_Alpha1)
|
||||
set(SIA_VERSION 1.2.1)
|
||||
string(REPLACE "\\" "/" SIADRIVE_INSTALL_FOLDER ${SIADRIVE_INSTALL_FOLDER})
|
||||
set(EXTERNAL_BUILD_ROOT ${CMAKE_BINARY_DIR}/external)
|
||||
set(EXTERNAL_BUILD_TYPE ${CMAKE_BUILD_TYPE})
|
||||
|
@@ -35,7 +35,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
Name: "main"; Description: "SiaDrive Files"; Types: full compact custom; Flags: fixed
|
||||
Name: "vc_runtime"; Description: "Visual C++ 2015 Redistributable"; Types: full custom
|
||||
Name: "dokany"; Description: "Dokany v1.0.3"; Types: full custom
|
||||
Name: "sia"; Description: "Sia v1.2.0"; Types: full custom
|
||||
Name: "sia"; Description: "Sia v@SIA_VERSION@"; Types: full custom
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; Components: main
|
||||
|
@@ -3,7 +3,7 @@
|
||||
#include <cstdint>
|
||||
|
||||
#define SIADRIVE_VERSION_STRING "@SIADRIVE_VERSION@"
|
||||
#define COMPAT_SIAD_VERSION "1.2.0"
|
||||
#define COMPAT_SIAD_VERSION "@SIA_VERSION@"
|
||||
|
||||
#ifdef _WIN32
|
||||
// Disable DLL-interface warnings
|
||||
|
14
package.cmd
14
package.cmd
@@ -3,6 +3,7 @@
|
||||
set ROOT=%~dp0%
|
||||
set PATH=%ROOT%bin;%PATH%
|
||||
set MODE=%1
|
||||
set SIA_VERSION=v1.2.1
|
||||
|
||||
pushd "%ROOT%"
|
||||
|
||||
@@ -15,13 +16,14 @@ pushd 3rd_party
|
||||
wget --no-check-certificate https://download.microsoft.com/download/6/D/F/6DF3FF94-F7F9-4F0B-838C-A328D1A7D0EE/vc_redist.x64.exe || goto :ERROR
|
||||
)
|
||||
|
||||
if not exist "sia.complete" (
|
||||
if not exist "Sia-v1.2.0-windows-amd64.zip" (
|
||||
wget --no-check-certificate https://github.com/NebulousLabs/Sia/releases/download/v1.2.0/Sia-v1.2.0-windows-amd64.zip || goto :ERROR
|
||||
if not exist "%SIA_VERSION%.complete" (
|
||||
if not exist "Sia-%SIA_VERSION%-windows-amd64.zip" (
|
||||
wget --no-check-certificate https://github.com/NebulousLabs/Sia/releases/download/%SIA_VERSION%/Sia-%SIA_VERSION%-windows-amd64.zip || goto :ERROR
|
||||
)
|
||||
unzip Sia-v1.2.0-windows-amd64.zip || goto :ERROR
|
||||
move Sia-v1.2.0-windows-amd64 Sia || goto :ERROR
|
||||
echo "1">sia.complete
|
||||
rd /s /q Sia > NUL
|
||||
unzip Sia-%SIA_VERSION%-windows-amd64.zip || goto :ERROR
|
||||
move Sia-%SIA_VERSION%-windows-amd64 Sia || goto :ERROR
|
||||
echo "1">%SIA_VERSION%.complete
|
||||
)
|
||||
|
||||
if not exist "Dokan_x64.msi" (
|
||||
|
Reference in New Issue
Block a user