File tree Expand file tree Collapse file tree 5 files changed +6
-7
lines changed Expand file tree Collapse file tree 5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Expand-Archive `
1919 - Force
2020Remove-Item `
2121 - Path $PSScriptRoot \Fonts\* `
22- - Exclude * Windows *
22+ - Exclude * .ttf
2323
2424$asset -match ' /v(?<version>[\d.]+)/'
2525$version = $Matches.version
Original file line number Diff line number Diff line change 1313 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|x86' " >
1414 <OutputPath >bin\$(Configuration)\</OutputPath >
1515 <IntermediateOutputPath >obj\$(Configuration)\</IntermediateOutputPath >
16- <DefineConstants >Debug;FontsDirectory=fonts </DefineConstants >
16+ <DefineConstants >Debug;FontsDirectory=Fonts </DefineConstants >
1717 </PropertyGroup >
1818 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|x86' " >
1919 <OutputPath >bin\$(Configuration)\</OutputPath >
3535 <Error Text =" The WiX Toolset v3.11 build tools must be installed to build this project. To download the WiX Toolset, see https://wixtoolset.org/releases/v3.11/stable" />
3636 </Target >
3737 <PropertyGroup >
38- <PreBuildEvent >"%WIX%bin\heat" dir $(ProjectDir)fonts -ag -cg ProductComponents -sfrag -srd -sreg -scom -var var.FontsDirectory -dr FontsFolder -t $(ProjectDir)TrueType.xsl -out $(ProjectDir)Directory.wxs</PreBuildEvent >
38+ <PreBuildEvent >"%WIX%bin\heat" dir $(ProjectDir)Fonts -ag -cg ProductComponents -sfrag -srd -sreg -scom -var var.FontsDirectory -dr FontsFolder -t $(ProjectDir)TrueType.xsl -out $(ProjectDir)Directory.wxs</PreBuildEvent >
3939 </PropertyGroup >
4040 <!--
4141 To modify your build process, add your task inside one of the targets below and uncomment it.
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ This installer is available on
88
99```
1010winget install --id DEVCOM.JetBrainsMonoNerdFont
11-
1211```
1312
1413## Build prerequisites
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Expand-Archive `
1919 - Force
2020Remove-Item `
2121 - Path $PSScriptRoot \Fonts\* `
22- - Exclude * Windows *
22+ - Exclude * .ttf
2323
2424$asset -match ' /v(?<version>[\d.]+)/'
2525$version = $Matches.version
Original file line number Diff line number Diff line change 1313 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|x86' " >
1414 <OutputPath >bin\$(Configuration)\</OutputPath >
1515 <IntermediateOutputPath >obj\$(Configuration)\</IntermediateOutputPath >
16- <DefineConstants >Debug;FontsDirectory=fonts </DefineConstants >
16+ <DefineConstants >Debug;FontsDirectory=Fonts </DefineConstants >
1717 </PropertyGroup >
1818 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|x86' " >
1919 <OutputPath >bin\$(Configuration)\</OutputPath >
3535 <Error Text =" The WiX Toolset v3.11 build tools must be installed to build this project. To download the WiX Toolset, see https://wixtoolset.org/releases/v3.11/stable" />
3636 </Target >
3737 <PropertyGroup >
38- <PreBuildEvent >"%WIX%bin\heat" dir $(ProjectDir)fonts -ag -cg ProductComponents -sfrag -srd -sreg -scom -var var.FontsDirectory -dr FontsFolder -t $(ProjectDir)TrueType.xsl -out $(ProjectDir)Directory.wxs</PreBuildEvent >
38+ <PreBuildEvent >"%WIX%bin\heat" dir $(ProjectDir)Fonts -ag -cg ProductComponents -sfrag -srd -sreg -scom -var var.FontsDirectory -dr FontsFolder -t $(ProjectDir)TrueType.xsl -out $(ProjectDir)Directory.wxs</PreBuildEvent >
3939 </PropertyGroup >
4040 <!--
4141 To modify your build process, add your task inside one of the targets below and uncomment it.
You can’t perform that action at this time.
0 commit comments