Skip to content

Commit 3f8e355

Browse files
committed
add nerd fonts logo
1 parent 3ce20a4 commit 3f8e355

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

src/powershell-extended/Invoke-NerdFontInstaller.ps1

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
<#PSScriptInfo
44
5-
.VERSION 1.0.0
5+
.VERSION 1.0.1
66
77
.GUID a3238c59-8a0e-4c11-a334-f071772d1255
88
99
.AUTHOR Julian Pawlowski
1010
1111
.COPYRIGHT © 2024 Julian Pawlowski.
1212
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
1414
1515
.LICENSEURI https://github.com/jpawlowski/devcontainer-features/blob/main/LICENSE.txt
1616
1717
.PROJECTURI https://github.com/jpawlowski/devcontainer-features
1818
19-
.ICONURI
19+
.ICONURI https://raw.githubusercontent.com/jpawlowski/devcontainer-features/main/src/powershell-extended/images/nerd-fonts-logo.png
2020
2121
.EXTERNALMODULEDEPENDENCIES
2222
@@ -25,7 +25,7 @@
2525
.EXTERNALSCRIPTDEPENDENCIES
2626
2727
.RELEASENOTES
28-
Version 1.0.0 (2024-08-28)
28+
Version 1.0.1 (2024-08-28)
2929
- Initial release.
3030
#>
3131

@@ -48,7 +48,8 @@
4848
the user's font directory, or the system font directory when using the AllUsers scope with
4949
elevated permissions.
5050
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:
5253
5354
```powershell
5455
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer')))
@@ -57,6 +58,10 @@
5758
& ([scriptblock]::Create((iwr 'https://raw.githubusercontent.com/jpawlowski/devcontainer-features/main/src/powershell-extended/Invoke-NerdFontInstaller.ps1')))
5859
```
5960
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+
6065
Parameters may be passed just like any other PowerShell script. For example:
6166
6267
```powershell
@@ -79,6 +84,8 @@
7984
8085
If the script is run in a non-interactive environment, the Name parameter is mandatory.
8186
87+
Possible font names are dynamically retrieved from the Nerd Font library on GitHub.
88+
8289
.PARAMETER Variant
8390
Specify the font variant to install.
8491
The default value is 'Variable'.
@@ -114,14 +121,12 @@
114121
This parameter does not install any fonts.
115122
116123
.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.
118125
The default value is CurrentUser.
119126
120-
The AllUsers scope requires elevated permissions on Windows.
127+
The AllUsers scope requires elevated permissions.
121128
The CurrentUser scope installs the font for the current user only.
122129
123-
The scope parameter is ignored on macOS and Linux.
124-
125130
.PARAMETER Force
126131
Overwrite existing font files instead of skipping them.
127132
Loading

0 commit comments

Comments
 (0)