Add ZFeatureHarmony and fix installation exception

- Added ZFeatureHarmony as a selectable channel
 - Fixed a bug where updating Roblox would cause an exception when upgrading Bloxstrap versions (#12)
This commit is contained in:
pizzaboxer 2022-09-02 17:26:19 +01:00
parent 427485f0ec
commit c71c2b1f5f
3 changed files with 8 additions and 4 deletions

View File

@ -9,8 +9,8 @@
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<Platforms>AnyCPU;x86</Platforms> <Platforms>AnyCPU;x86</Platforms>
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon> <ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
<Version>1.4.1</Version> <Version>1.4.2</Version>
<FileVersion>1.4.1.0</FileVersion> <FileVersion>1.4.2.0</FileVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -435,10 +435,12 @@ namespace Bloxstrap
File.Delete(filename); File.Delete(filename);
} }
if (VersionGuid != Program.Settings.VersionGuid) string oldVersionFolder = Path.Combine(Directories.Versions, Program.Settings.VersionGuid);
if (VersionGuid != Program.Settings.VersionGuid && Directory.Exists(oldVersionFolder))
{ {
// and also to delete our old version folder // and also to delete our old version folder
Directory.Delete(Path.Combine(Directories.Versions, Program.Settings.VersionGuid), true); Directory.Delete(oldVersionFolder, true);
} }
} }

View File

@ -17,6 +17,7 @@ namespace Bloxstrap.Helpers
"LIVE", "LIVE",
"ZAvatarTeam", "ZAvatarTeam",
"ZCanary", "ZCanary",
"ZFeatureHarmony",
"ZIntegration", "ZIntegration",
"ZLive", "ZLive",
"ZNext", "ZNext",
@ -43,6 +44,7 @@ namespace Bloxstrap.Helpers
"ZFeatureBoost_Removal_Test_In_Prod", "ZFeatureBoost_Removal_Test_In_Prod",
"ZFeatureFMOD-20115", "ZFeatureFMOD-20115",
"ZFeatureFMOD-Recording-Test", "ZFeatureFMOD-Recording-Test",
"ZFeatureHarmony",
"ZFeatureHSR2CDNPlayTest", "ZFeatureHSR2CDNPlayTest",
"ZFeatureHSR2CDNPlayTest2", "ZFeatureHSR2CDNPlayTest2",
"ZFeatureInstance-Parent-Weak-Ptr", "ZFeatureInstance-Parent-Weak-Ptr",