mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
build: move innosetup/ to scripts/
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -22,12 +22,12 @@ echo ====== Building dvc binary... ======
|
|||||||
call pyinstaller --onefile --additional-hooks-dir scripts\hooks dvc/__main__.py --name dvc --specpath build
|
call pyinstaller --onefile --additional-hooks-dir scripts\hooks dvc/__main__.py --name dvc --specpath build
|
||||||
|
|
||||||
echo ====== Copying additional files... ======
|
echo ====== Copying additional files... ======
|
||||||
copy innosetup\addSymLinkPermissions.ps1 dist\ || goto :error
|
copy scripts\innosetup\addSymLinkPermissions.ps1 dist\ || goto :error
|
||||||
|
|
||||||
echo ====== Building dvc installer... ======
|
echo ====== Building dvc installer... ======
|
||||||
set PYTHONPATH=%cd%
|
set PYTHONPATH=%cd%
|
||||||
call python innosetup\config_gen.py || goto :error
|
call python scripts\innosetup\config_gen.py || goto :error
|
||||||
call "C:\Program Files (x86)\Inno Setup 5\iscc" innosetup\setup.iss || goto :error
|
call "C:\Program Files (x86)\Inno Setup 5\iscc" scripts\innosetup\setup.iss || goto :error
|
||||||
|
|
||||||
echo ====== DONE ======
|
echo ====== DONE ======
|
||||||
goto :EOF
|
goto :EOF
|
||||||
|
|||||||
@@ -10,5 +10,5 @@ config = ConfigParser.ConfigParser()
|
|||||||
config.add_section('Version')
|
config.add_section('Version')
|
||||||
config.set('Version', 'Version', VERSION)
|
config.set('Version', 'Version', VERSION)
|
||||||
|
|
||||||
with open('innosetup/config.ini', 'w') as f:
|
with open('scripts/innosetup/config.ini', 'w') as f:
|
||||||
config.write(f)
|
config.write(f)
|
||||||
|
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 220 KiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 151 KiB |
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
@@ -1,8 +1,8 @@
|
|||||||
#define MyAppName "Data Version Control"
|
#define MyAppName "Data Version Control"
|
||||||
#define MyAppVersion ReadIni(".\innosetup\config.ini", "Version", "version", "unknown")
|
#define MyAppVersion ReadIni(".\scripts\innosetup\config.ini", "Version", "version", "unknown")
|
||||||
#define MyAppPublisher "Dmitry Petrov"
|
#define MyAppPublisher "Dmitry Petrov"
|
||||||
#define MyAppURL "https://dataversioncontrol.com/"
|
#define MyAppURL "https://dataversioncontrol.com/"
|
||||||
#define MyAppDir "..\dist"
|
#define MyAppDir "..\..\dist"
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
AppId={{8258CE8A-110E-4E0D-AE60-FEE00B15F041}
|
AppId={{8258CE8A-110E-4E0D-AE60-FEE00B15F041}
|
||||||
@@ -15,11 +15,11 @@ AppUpdatesURL={#MyAppURL}
|
|||||||
DefaultDirName={code:GetDefaultDirName}
|
DefaultDirName={code:GetDefaultDirName}
|
||||||
DefaultGroupName={#MyAppName}
|
DefaultGroupName={#MyAppName}
|
||||||
AllowNoIcons=yes
|
AllowNoIcons=yes
|
||||||
LicenseFile=..\LICENSE
|
LicenseFile=..\..\LICENSE
|
||||||
OutputBaseFilename=dvc-{#MyAppVersion}
|
OutputBaseFilename=dvc-{#MyAppVersion}
|
||||||
Compression=lzma2/max
|
Compression=lzma2/max
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
OutputDir=..\
|
OutputDir=..\..\
|
||||||
ChangesEnvironment=yes
|
ChangesEnvironment=yes
|
||||||
SetupIconFile=dvc.ico
|
SetupIconFile=dvc.ico
|
||||||
WizardSmallImageFile=dvc_up.bmp
|
WizardSmallImageFile=dvc_up.bmp
|
||||||
Reference in New Issue
Block a user