Skip to content

Commit

Permalink
add nerd fonts logo
Browse files Browse the repository at this point in the history
  • Loading branch information
jpawlowski committed Aug 28, 2024
1 parent 3ce20a4 commit 3f8e355
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions src/powershell-extended/Invoke-NerdFontInstaller.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

<#PSScriptInfo
.VERSION 1.0.0
.VERSION 1.0.1
.GUID a3238c59-8a0e-4c11-a334-f071772d1255
.AUTHOR Julian Pawlowski
.COPYRIGHT © 2024 Julian Pawlowski.
.TAGS nerd-fonts nerdfonts cascadia-code cascadia-mono
.TAGS nerd-fonts nerdfonts cascadia-code cascadia-code-nerd-font cascadia-code-powerline-font cascadia-mono cascadia-mono-nerd-font cascadia-mono-powerline-font
.LICENSEURI https://github.com/jpawlowski/devcontainer-features/blob/main/LICENSE.txt
.PROJECTURI https://github.com/jpawlowski/devcontainer-features
.ICONURI
.ICONURI https://raw.githubusercontent.com/jpawlowski/devcontainer-features/main/src/powershell-extended/images/nerd-fonts-logo.png
.EXTERNALMODULEDEPENDENCIES
Expand All @@ -25,7 +25,7 @@
.EXTERNALSCRIPTDEPENDENCIES
.RELEASENOTES
Version 1.0.0 (2024-08-28)
Version 1.0.1 (2024-08-28)
- Initial release.
#>

Expand All @@ -48,7 +48,8 @@
the user's font directory, or the system font directory when using the AllUsers scope with
elevated permissions.
You may also run this script directly from the web using the following command:
Besides installing the script locally, you may also run this script directly from the web
using the following command:
```powershell
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer')))
Expand All @@ -57,6 +58,10 @@
& ([scriptblock]::Create((iwr 'https://raw.githubusercontent.com/jpawlowski/devcontainer-features/main/src/powershell-extended/Invoke-NerdFontInstaller.ps1')))
```
> **IMPORTANT**: A code signature cannot be verified when running the script directly from the web.
> SSL transport layer encryption is used to protect the script during download from GitHub and during
> redirection from the URL shortener.
Parameters may be passed just like any other PowerShell script. For example:
```powershell
Expand All @@ -79,6 +84,8 @@
If the script is run in a non-interactive environment, the Name parameter is mandatory.
Possible font names are dynamically retrieved from the Nerd Font library on GitHub.
.PARAMETER Variant
Specify the font variant to install.
The default value is 'Variable'.
Expand Down Expand Up @@ -114,14 +121,12 @@
This parameter does not install any fonts.
.PARAMETER Scope
Defined the scope in which the Nerd Font should be installed on Windows.
Defined the scope in which the Nerd Font should be installed.
The default value is CurrentUser.
The AllUsers scope requires elevated permissions on Windows.
The AllUsers scope requires elevated permissions.
The CurrentUser scope installs the font for the current user only.
The scope parameter is ignored on macOS and Linux.
.PARAMETER Force
Overwrite existing font files instead of skipping them.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3f8e355

Please sign in to comment.