11# JetBrainsMono Nerd Font installer for Windows
22
3- This is a [ WiX v3 ] ( https://wixtoolset.org/docs/v3 / ) based installer for the
3+ This is a [ WiX v4 ] ( https://wixtoolset.org/docs/intro / ) based installer for the
44[ JetBrainsMono Nerd Font] ( https://www.nerdfonts.com/ ) .
55
66This installer is available on
@@ -12,38 +12,19 @@ winget install --id DEVCOM.JetBrainsMonoNerdFont
1212
1313## Build prerequisites
1414
15- - [ Visual Studio 2022 (any edition)] ( https://visualstudio.microsoft.com/#vs-section )
16- - [ WiX v3] ( https://wixtoolset.org/docs/wix3/ )
17- - [ WiX v3 - Visual Studio 2022 Extension] ( https://marketplace.visualstudio.com/items?itemName=WixToolset.WixToolsetVisualStudio2022Extension )
15+ - [ WiX v4] ( https://wixtoolset.org/docs/intro/ )
16+ - [ GitHub CLI] ( https://cli.github.com/ )
1817
19- WiX v3 is available at < https://github.com/wixtoolset/wix3/releases/ > . It
20- requires .NET Framework 3.5, which can be installed with the following command:
18+ Install them with the following commands:
2119
2220``` powershell
23- Start-Process `
24- -FilePath pwsh `
25- -ArgumentList "-Command `"& {Enable-WindowsOptionalFeature -Online -FeatureName NetFx3}`"" `
26- -Wait `
27- -Verb RunAs
21+ dotnet tool install --global wix
22+ winget install --id GitHub.cli
2823```
2924
3025## Build
3126
32- Run the ` JetBrainsMono\Build-Installer.ps1 ` PowerShell script to build the
33- installer.
27+ Run the ` src\Build-Installer.ps1 ` PowerShell script to build the installer.
3428
35- If successful, the MSI file will be available in the ` JetBrainsMono \bin\Release`
29+ If successful, the MSI file will be available in the ` src \bin\Release\en-US `
3630directory.
37-
38- ## Visual Studio project template
39-
40- You can use the included [ Visual Studio project
41- template] ( https://learn.microsoft.com/visualstudio/ide/creating-project-and-item-templates )
42- to build an installer for a Nerd Font of your choice. To use the template, zip
43- the files in the ` VSTemplate ` folder and copy it to your
44- ` %USERPROFILE%\Documents\Visual Studio 2022\Templates\ProjectTemplates ` folder.
45-
46- After installing the template, create a new Visual Studio project using it, and
47- name the project with the name of one of the zip files available for download in
48- the [ releases page] ( https://github.com/ryanoasis/nerd-fonts/releases ) of the
49- Nerd Font GitHub repository.
0 commit comments