Skip to content

Commit

Permalink
Update excluded files from MSI
Browse files Browse the repository at this point in the history
Sign NSSM
  • Loading branch information
Maxhy committed Jan 30, 2024
1 parent c66166e commit 5eaf919
Show file tree
Hide file tree
Showing 4 changed files with 6,739 additions and 4,868 deletions.
Binary file modified installer/binaries/nssm.exe
Binary file not shown.
16 changes: 15 additions & 1 deletion installer/exclude_files.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@
<xsl:key name="installerDir" match="wix:Directory[@Name = 'installer']" use="@Id" />
<xsl:key name="installerRef" match="wix:Component[ancestor::wix:Directory[@Name = 'installer']]" use="@Id" />

<!-- find repository directory -->
<!-- find repository directory -->
<xsl:key name="repositoryDir" match="wix:Directory[@Name = 'repository']" use="@Id" />
<xsl:key name="repositoryRef" match="wix:Component[ancestor::wix:Directory[@Name = 'repository']]" use="@Id" />

<!-- find .github directory -->
<xsl:key name="githubDir" match="wix:Directory[@Name = '.github']" use="@Id" />
<xsl:key name="githubRef" match="wix:Component[ancestor::wix:Directory[@Name = '.github']]" use="@Id" />

<!-- find .yarn directory -->
<xsl:key name="yarnDir" match="wix:Directory[@Name = '.yarn']" use="@Id" />
<xsl:key name="yarnRef" match="wix:Component[ancestor::wix:Directory[@Name = '.yarn']]" use="@Id" />

<!-- By default, copy all elements and nodes into the output... -->
<xsl:template match="@*|node()">
Expand All @@ -55,5 +63,11 @@

<xsl:template match="*[ self::wix:Directory ][ key( 'repositoryDir', @Id ) ]" />
<xsl:template match="wix:ComponentRef[key('repositoryRef', @Id)]" />

<xsl:template match="*[ self::wix:Directory ][ key( 'githubDir', @Id ) ]" />
<xsl:template match="wix:ComponentRef[key('githubRef', @Id)]" />

<xsl:template match="*[ self::wix:Directory ][ key( 'yarnDir', @Id ) ]" />
<xsl:template match="wix:ComponentRef[key('yarnRef', @Id)]" />

</xsl:stylesheet>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "card-printing-worker",
"version": "1.4.0",
"version": "1.5.0",
"description": "Printing Worker for Leosac Credential Provisioning solution",
"main": "src/run.js",
"scripts": {
Expand Down
Loading

0 comments on commit 5eaf919

Please sign in to comment.