mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
- Features - Added integration with rbxfpsunlocker - Added support for user-applicable mods - Added ability to disable auto-update checking - Misc - Removed Bloxstrap branding from Discord Rich Presence - Mod presets for old death sound and mouse cursor are now statically stored as base64 strings, eliminating reliance on the website and the old cursors still existing - Bugfixes - Fixed vista bootstrapper style not hiding properly and improper behavior when closed - Fixed forms not being brought to the front when shown - Code - Reconsolidated Bootstrapper to a single file, using regions instead of partials
29 lines
997 B
C#
29 lines
997 B
C#
using System.IO;
|
|
|
|
namespace Bloxstrap.Helpers
|
|
{
|
|
internal class Directories
|
|
{
|
|
public static string Base { get; private set; } = "";
|
|
public static string Downloads { get; private set; } = "";
|
|
public static string Integrations { get; private set; } = "";
|
|
public static string Versions { get; private set; } = "";
|
|
public static string Modifications { get; private set; } = "";
|
|
|
|
public static string App { get; private set; } = "";
|
|
|
|
public static bool Initialized { get => String.IsNullOrEmpty(Base); }
|
|
|
|
public static void Initialize(string baseDirectory)
|
|
{
|
|
Base = baseDirectory;
|
|
Downloads = Path.Combine(Base, "Downloads");
|
|
Integrations = Path.Combine(Base, "Integrations");
|
|
Versions = Path.Combine(Base, "Versions");
|
|
Modifications = Path.Combine(Base, "Modifications");
|
|
|
|
App = Path.Combine(Base, $"{Program.ProjectName}.exe");
|
|
}
|
|
}
|
|
}
|