mirror of
https://github.com/cyanfish/naps2.git
synced 2024-11-15 00:40:12 +03:00
22 lines
969 B
Plaintext
22 lines
969 B
Plaintext
<#@ template debug="true" hostSpecific="true" #>
|
|
<#@ output extension=".iss" encoding="us-ascii" #>
|
|
<#@ Assembly Name="System.Core" #>
|
|
<#@ Assembly Name="System.Windows.Forms" #>
|
|
<#@ import namespace="System" #>
|
|
<#@ import namespace="System.IO" #>
|
|
<#@ import namespace="System.Diagnostics" #>
|
|
<#@ import namespace="System.Linq" #>
|
|
<#@ import namespace="System.Collections" #>
|
|
<#@ import namespace="System.Collections.Generic" #>
|
|
; This file is auto-generated by setup.languagefiles.tt
|
|
<#
|
|
var setupDirPath = Path.GetDirectoryName(this.Host.TemplateFile);
|
|
var outputDirPath = Path.Combine(setupDirPath, @"..\..\NAPS2.Sdk\bin\InstallerEXE");
|
|
var outputDir = new DirectoryInfo(outputDirPath);
|
|
foreach(var folder in outputDir.EnumerateDirectories()) {
|
|
var langName = folder.Name;
|
|
#>
|
|
Source: "..\NAPS2.App.WinForms\bin\InstallerEXE\\<#= langName #>\NAPS2.Core.resources.dll"; DestDir: "{app}\\lib\\<#= langName #>"; Flags: ignoreversion
|
|
<#
|
|
}
|
|
#> |