mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +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
|
||||
|
||||
echo ====== Copying additional files... ======
|
||||
copy innosetup\addSymLinkPermissions.ps1 dist\ || goto :error
|
||||
copy scripts\innosetup\addSymLinkPermissions.ps1 dist\ || goto :error
|
||||
|
||||
echo ====== Building dvc installer... ======
|
||||
set PYTHONPATH=%cd%
|
||||
call python innosetup\config_gen.py || goto :error
|
||||
call "C:\Program Files (x86)\Inno Setup 5\iscc" innosetup\setup.iss || goto :error
|
||||
call python scripts\innosetup\config_gen.py || goto :error
|
||||
call "C:\Program Files (x86)\Inno Setup 5\iscc" scripts\innosetup\setup.iss || goto :error
|
||||
|
||||
echo ====== DONE ======
|
||||
goto :EOF
|
||||
|
||||
@@ -10,5 +10,5 @@ config = ConfigParser.ConfigParser()
|
||||
config.add_section('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)
|
||||
|
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 MyAppVersion ReadIni(".\innosetup\config.ini", "Version", "version", "unknown")
|
||||
#define MyAppVersion ReadIni(".\scripts\innosetup\config.ini", "Version", "version", "unknown")
|
||||
#define MyAppPublisher "Dmitry Petrov"
|
||||
#define MyAppURL "https://dataversioncontrol.com/"
|
||||
#define MyAppDir "..\dist"
|
||||
#define MyAppDir "..\..\dist"
|
||||
|
||||
[Setup]
|
||||
AppId={{8258CE8A-110E-4E0D-AE60-FEE00B15F041}
|
||||
@@ -15,11 +15,11 @@ AppUpdatesURL={#MyAppURL}
|
||||
DefaultDirName={code:GetDefaultDirName}
|
||||
DefaultGroupName={#MyAppName}
|
||||
AllowNoIcons=yes
|
||||
LicenseFile=..\LICENSE
|
||||
LicenseFile=..\..\LICENSE
|
||||
OutputBaseFilename=dvc-{#MyAppVersion}
|
||||
Compression=lzma2/max
|
||||
SolidCompression=yes
|
||||
OutputDir=..\
|
||||
OutputDir=..\..\
|
||||
ChangesEnvironment=yes
|
||||
SetupIconFile=dvc.ico
|
||||
WizardSmallImageFile=dvc_up.bmp
|
||||
Reference in New Issue
Block a user