Installer: Bundle and ship source code together with binaries
Test / Run tests (push) Successful in 3m14s
Test / Run tests (push) Successful in 3m14s
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
|
||||
Elwig
|
||||
=====
|
||||
|
||||
Source code
|
||||
C:\Program Files\Elwig\src\
|
||||
https://git.necronda.net/winzer/elwig
|
||||
|
||||
Installation folder
|
||||
C:\Program Files\Elwig\
|
||||
|
||||
Data and configuration folder
|
||||
C:\ProgramData\Elwig\
|
||||
- config.ini : main configuration file
|
||||
- database.sqlite3 : stores all data
|
||||
- imported.txt : list of all imported *.elwig.zip files to not automatically import them again
|
||||
- mails\ : sent/outgoing email log
|
||||
@@ -3,7 +3,9 @@
|
||||
<Fragment>
|
||||
<!-- C:\Program Files (x86)\Elwig or C:\Program Files\Elwig -->
|
||||
<StandardDirectory Id="ProgramFiles64Folder">
|
||||
<Directory Id="InstallFolder" Name="!(bind.Property.ProductName)" />
|
||||
<Directory Id="InstallFolder" Name="!(bind.Property.ProductName)">
|
||||
<Directory Id="SourceFolder" Name="src"/>
|
||||
</Directory>
|
||||
</StandardDirectory>
|
||||
|
||||
<!-- C:\ProgramData\Elwig -->
|
||||
|
||||
@@ -34,7 +34,11 @@
|
||||
<DefineConstants>ProductVersion=$(ElwigFileVersion);BuildPath=..\Elwig\bin\Publish;ElwigProjectDir=..\Elwig</DefineConstants>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
<Target Name="CreateSourceArchive" BeforeTargets="BeforeBuild">
|
||||
<Exec Command="git -C .. archive -o $(ProjectDir)\Files\elwig.zip HEAD" />
|
||||
</Target>
|
||||
<ItemGroup>
|
||||
<None Include="Files\config.ini" />
|
||||
<None Include="Files\README.txt" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -4,9 +4,15 @@
|
||||
<Component Directory="InstallFolder">
|
||||
<File Source="$(var.ElwigProjectDir)\bin\Publish\Elwig.exe" Id="Elwig.exe"/>
|
||||
</Component>
|
||||
<Component Directory="SourceFolder">
|
||||
<File Source="$(ProjectDir)\Files\elwig.zip" Id="elwig.zip"/>
|
||||
</Component>
|
||||
<Component Directory="ConfigFolder" Permanent="true" NeverOverwrite="true">
|
||||
<File Source="$(ProjectDir)\Files\config.ini" Id="config.ini"/>
|
||||
</Component>
|
||||
<Component Directory="ConfigFolder">
|
||||
<File Source="$(ProjectDir)\Files\README.txt" Id="README.txt"/>
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
|
||||
Reference in New Issue
Block a user