From 261fd609ea0346b07a3a8f81e7b42ed2372c8cea Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Thu, 5 Dec 2024 13:18:50 +0000 Subject: [PATCH] create roblox directory in appdata --- Bloxstrap/Bootstrapper.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 207c4a4..cb04b7d 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -357,8 +357,11 @@ namespace Bloxstrap string? logFileName = null; - string rbxLogDir = Path.Combine(Paths.LocalAppData, "Roblox\\logs"); + string rbxDir = Path.Combine(Paths.LocalAppData, "Roblox"); + if (!Directory.Exists(rbxDir)) + Directory.CreateDirectory(rbxDir); + string rbxLogDir = Path.Combine(rbxDir, "logs"); if (!Directory.Exists(rbxLogDir)) Directory.CreateDirectory(rbxLogDir);