Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add windows install script ( PowerShell ) #89

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

4nkitd
Copy link

@4nkitd 4nkitd commented Nov 12, 2023

:: This script installs fonts on Windows by copying them to the Fonts folder and adding registry entries for them.

  • check Admin rights
  • copy fonts/otf & fonts/varible to $CurrentVersion\Fonts
  • add each fonts to registry

README.md Outdated
@@ -61,6 +61,11 @@ brew install font-monaspace
### Windows
You can manually drag the fonts from the `fonts/otf` or `fonts/variable` directory into `C:\Windows\Fonts`. Alternatively, right-click the fonts you want and click Install.

```powershell
$ cd util
$ ./install_windows.sh

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./install_windows.cmd instead of *.sh

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction done, code update pushed.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used the script, works great! Hopefully the Monaspace team accepts the PR!

@sylver sylver mentioned this pull request Nov 19, 2023
@4nkitd
Copy link
Author

4nkitd commented Nov 21, 2023

Is their any issue with this MR, if so please highlight for correction

@Krzysztof-Cieslak
Copy link
Member

Hey, thanks a lot for PR!

I've just tried this script and while it successfully installed OTF fonts, it didn't install Variable versions for me

@idan
Copy link
Contributor

idan commented May 9, 2024

Looking at this stuff now — thank you for writing it! But omg powershell 😵 looks like magic. I think I don't want to hold up 1.101 for this, will aim to merge for the 1.2 timeframe <3

@raymond-w-ko
Copy link

There is a typo in the script. varible should be variable I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

5 participants