Skip to content

Commit d84e60d

Browse files
committed
feat: upgrade to Nerd Fonts v3.0.0 (#20)
1 parent 1cd52a8 commit d84e60d

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

JetBrainsMono/Build-Installer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Expand-Archive `
1919
-Force
2020
Remove-Item `
2121
-Path $PSScriptRoot\Fonts\* `
22-
-Exclude *Windows*
22+
-Exclude *.ttf
2323

2424
$asset -match '/v(?<version>[\d.]+)/'
2525
$version = $Matches.version

JetBrainsMono/JetBrainsMono.wixproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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>
@@ -35,7 +35,7 @@
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.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ This installer is available on
88

99
```
1010
winget install --id DEVCOM.JetBrainsMonoNerdFont
11-
1211
```
1312

1413
## Build prerequisites

VSTemplate/Build-Installer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Expand-Archive `
1919
-Force
2020
Remove-Item `
2121
-Path $PSScriptRoot\Fonts\* `
22-
-Exclude *Windows*
22+
-Exclude *.ttf
2323

2424
$asset -match '/v(?<version>[\d.]+)/'
2525
$version = $Matches.version

VSTemplate/JetBrainsMono.wixproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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>
@@ -35,7 +35,7 @@
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.

0 commit comments

Comments
 (0)