We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb3e7c commit 143e190Copy full SHA for 143e190
1 file changed
Font.psm1
@@ -32,8 +32,15 @@ $script:this = $myModule
32
$fontForge = $ExecutionContext.SessionState.InvokeCommand.GetCommand('fontforge','application')
33
if (-not $fontForge) {
34
if ($env:GITHUB_EVENT_PATH) {
35
+ "::group::Install Font Forge" | Out-Host
36
sudo apt-get install fontforge -y | Out-Host
- $fontForge = $ExecutionContext.SessionState.InvokeCommand.GetCommand('fontforge','application')
37
+ if ($?) {
38
+ "FontForge Installed!" | Out-Host
39
+ }
40
+ "Fonts Found" | Out-Host
41
+ Get-Font | Out-Host
42
+ "::endgroup::" | Out-Host
43
+ $fontForge = $ExecutionContext.SessionState.InvokeCommand.GetCommand('fontforge','application')
44
} else {
45
Write-Warning "FontForge is not installed and in the path. Import/Export-Font will not work"
46
}
0 commit comments