|
2 | 2 |
|
3 | 3 | <#PSScriptInfo
|
4 | 4 |
|
5 |
| -.VERSION 1.0.0 |
| 5 | +.VERSION 1.0.1 |
6 | 6 |
|
7 | 7 | .GUID a3238c59-8a0e-4c11-a334-f071772d1255
|
8 | 8 |
|
9 | 9 | .AUTHOR Julian Pawlowski
|
10 | 10 |
|
11 | 11 | .COPYRIGHT © 2024 Julian Pawlowski.
|
12 | 12 |
|
13 |
| -.TAGS nerd-fonts nerdfonts cascadia-code cascadia-mono |
| 13 | +.TAGS nerd-fonts nerdfonts cascadia-code cascadia-code-nerd-font cascadia-code-powerline-font cascadia-mono cascadia-mono-nerd-font cascadia-mono-powerline-font |
14 | 14 |
|
15 | 15 | .LICENSEURI https://github.com/jpawlowski/devcontainer-features/blob/main/LICENSE.txt
|
16 | 16 |
|
17 | 17 | .PROJECTURI https://github.com/jpawlowski/devcontainer-features
|
18 | 18 |
|
19 |
| -.ICONURI |
| 19 | +.ICONURI https://raw.githubusercontent.com/jpawlowski/devcontainer-features/main/src/powershell-extended/images/nerd-fonts-logo.png |
20 | 20 |
|
21 | 21 | .EXTERNALMODULEDEPENDENCIES
|
22 | 22 |
|
|
25 | 25 | .EXTERNALSCRIPTDEPENDENCIES
|
26 | 26 |
|
27 | 27 | .RELEASENOTES
|
28 |
| - Version 1.0.0 (2024-08-28) |
| 28 | + Version 1.0.1 (2024-08-28) |
29 | 29 | - Initial release.
|
30 | 30 | #>
|
31 | 31 |
|
|
48 | 48 | the user's font directory, or the system font directory when using the AllUsers scope with
|
49 | 49 | elevated permissions.
|
50 | 50 |
|
51 |
| - You may also run this script directly from the web using the following command: |
| 51 | + Besides installing the script locally, you may also run this script directly from the web |
| 52 | + using the following command: |
52 | 53 |
|
53 | 54 | ```powershell
|
54 | 55 | & ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer')))
|
|
57 | 58 | & ([scriptblock]::Create((iwr 'https://raw.githubusercontent.com/jpawlowski/devcontainer-features/main/src/powershell-extended/Invoke-NerdFontInstaller.ps1')))
|
58 | 59 | ```
|
59 | 60 |
|
| 61 | + > **IMPORTANT**: A code signature cannot be verified when running the script directly from the web. |
| 62 | + > SSL transport layer encryption is used to protect the script during download from GitHub and during |
| 63 | + > redirection from the URL shortener. |
| 64 | +
|
60 | 65 | Parameters may be passed just like any other PowerShell script. For example:
|
61 | 66 |
|
62 | 67 | ```powershell
|
|
79 | 84 |
|
80 | 85 | If the script is run in a non-interactive environment, the Name parameter is mandatory.
|
81 | 86 |
|
| 87 | + Possible font names are dynamically retrieved from the Nerd Font library on GitHub. |
| 88 | +
|
82 | 89 | .PARAMETER Variant
|
83 | 90 | Specify the font variant to install.
|
84 | 91 | The default value is 'Variable'.
|
|
114 | 121 | This parameter does not install any fonts.
|
115 | 122 |
|
116 | 123 | .PARAMETER Scope
|
117 |
| - Defined the scope in which the Nerd Font should be installed on Windows. |
| 124 | + Defined the scope in which the Nerd Font should be installed. |
118 | 125 | The default value is CurrentUser.
|
119 | 126 |
|
120 |
| - The AllUsers scope requires elevated permissions on Windows. |
| 127 | + The AllUsers scope requires elevated permissions. |
121 | 128 | The CurrentUser scope installs the font for the current user only.
|
122 | 129 |
|
123 |
| - The scope parameter is ignored on macOS and Linux. |
124 |
| -
|
125 | 130 | .PARAMETER Force
|
126 | 131 | Overwrite existing font files instead of skipping them.
|
127 | 132 |
|
|
0 commit comments