File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # JetBrainsMono Nerd Font installer for Windows
2+
3+ This is a [ WiX v3] ( https://wixtoolset.org/docs/v3/ ) based installer for the
4+ [ JetBrainsMono Nerd Font] ( https://www.nerdfonts.com/ ) .
5+
6+ ## Build prerequisites
7+
8+ - [ Visual Studio 2022 (any edition)] ( https://visualstudio.microsoft.com/#vs-section )
9+ - [ WiX v3] ( https://wixtoolset.org/docs/wix3/ ) (if packaging on Windows)
10+ - [ WiX v3 - Visual Studio 2022 Extension] ( https://marketplace.visualstudio.com/items?itemName=WixToolset.WixToolsetVisualStudio2022Extension )
11+
12+ WiX v3 is available at < https://github.com/wixtoolset/wix3/releases/ > . It
13+ requires .NET Framework 3.5, which can be installed with the following command:
14+
15+ ``` powershell
16+ Start-Process `
17+ -FilePath pwsh `
18+ -ArgumentList "-Command `"& {Enable-WindowsOptionalFeature -Online -FeatureName NetFx3}`"" `
19+ -Wait `
20+ -Verb RunAs
21+ ```
22+
23+ Update your path environment with ` setx ` (supposing you installed the tools in
24+ their default directories):
25+
26+ ``` powershell
27+ setx PATH ($(Get-ItemProperty -Path HKCU:\Environment -Name Path).Path + "${env:ProgramFiles(x86)}\WiX Toolset v3.11\bin")
28+ ```
29+
30+ Check if ` PATH ` was set correctly:
31+
32+ ```
33+ Get-Command candle
34+ ```
35+
36+ ## Build
37+
38+ Run the ` Build-Installer.ps1 ` PowerShell script to build the installer.
39+
40+ If successful, the MSI file will be available in the
41+ ` JetBrainsMonoNF\bin\Release ` directory.
You can’t perform that action at this time.
0 commit comments