mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 18:11:27 -07:00
Merge pull request #1674 from bluepilledgreat/bugfix/first-run-font-install
Fix custom font already existing on first run
This commit is contained in:
commit
c386695078
@ -1198,7 +1198,7 @@ namespace Bloxstrap
|
||||
if (App.IsFirstRun && App.CustomFontLocation is not null)
|
||||
{
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(Paths.CustomFont)!);
|
||||
File.Copy(App.CustomFontLocation, Paths.CustomFont);
|
||||
File.Copy(App.CustomFontLocation, Paths.CustomFont, true);
|
||||
}
|
||||
|
||||
if (File.Exists(Paths.CustomFont))
|
||||
|
Loading…
Reference in New Issue
Block a user