mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 02:21:27 -07:00
Fixes #3413 Fix the Roblox UI issue where the UI, including chat UI, is not displayed correctly in every game. * **Bloxstrap/FastFlagManager.cs** - Add a new method `EnsureUIFlags` to set UI-related flags correctly. - Call `EnsureUIFlags` in the `Load` method to ensure UI flags are set. * **Bloxstrap/App.xaml.cs** - Add a call to `FastFlagManager.EnsureUIFlags` in the `OnStartup` method. - Add a new method `InitializeUI` to handle additional UI initialization checks.
48 lines
1.7 KiB
C#
48 lines
1.7 KiB
C#
namespace Bloxstrap.AppData
|
|
{
|
|
public class RobloxStudioData : CommonAppData, IAppData
|
|
{
|
|
public string ProductName => "Roblox Studio";
|
|
|
|
public string BinaryType => "WindowsStudio64";
|
|
|
|
public string RegistryName => "RobloxStudio";
|
|
|
|
public override string ExecutableName => "RobloxStudioBeta.exe";
|
|
|
|
public string StartEvent => "www.roblox.com/robloxStudioStartedEvent";
|
|
|
|
public override string Directory => Path.Combine(Paths.Roblox, "Studio");
|
|
|
|
public AppState State
|
|
{
|
|
get
|
|
{
|
|
App.InitializeUI();
|
|
return App.State.Prop.Studio;
|
|
}
|
|
}
|
|
|
|
public override IReadOnlyDictionary<string, string> PackageDirectoryMap { get; set; } = new Dictionary<string, string>()
|
|
{
|
|
{ "RobloxStudio.zip", @"" },
|
|
{ "LibrariesQt5.zip", @"" },
|
|
|
|
{ "content-studio_svg_textures.zip", @"content\studio_svg_textures\"},
|
|
{ "content-qt_translations.zip", @"content\qt_translations\" },
|
|
{ "content-api-docs.zip", @"content\api_docs\" },
|
|
|
|
{ "extracontent-scripts.zip", @"ExtraContent\scripts\" },
|
|
|
|
{ "BuiltInPlugins.zip", @"BuiltInPlugins\" },
|
|
{ "BuiltInStandalonePlugins.zip", @"BuiltInStandalonePlugins\" },
|
|
|
|
{ "ApplicationConfig.zip", @"ApplicationConfig\" },
|
|
{ "Plugins.zip", @"Plugins\" },
|
|
{ "Qml.zip", @"Qml\" },
|
|
{ "StudioFonts.zip", @"StudioFonts\" },
|
|
{ "RibbonConfig.zip", @"RibbonConfig\" }
|
|
};
|
|
}
|
|
}
|