mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
use overwrite parameter instead
This commit is contained in:
parent
50601e4e6e
commit
9d1e32dfc1
@ -1198,11 +1198,7 @@ namespace Bloxstrap
|
||||
if (App.IsFirstRun && App.CustomFontLocation is not null)
|
||||
{
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(Paths.CustomFont)!);
|
||||
|
||||
if (File.Exists(Paths.CustomFont))
|
||||
File.Delete(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