From 4da464197ffe28194d8f932831e0ad616553b982 Mon Sep 17 00:00:00 2001
From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com>
Date: Mon, 30 Dec 2024 00:55:30 +0000
Subject: [PATCH 1/4] make CleanupVersionsFolder handle all exceptions
---
Bloxstrap/Bootstrapper.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs
index 39dab82..ea0cd74 100644
--- a/Bloxstrap/Bootstrapper.cs
+++ b/Bloxstrap/Bootstrapper.cs
@@ -663,7 +663,7 @@ namespace Bloxstrap
{
Directory.Delete(dir, true);
}
- catch (IOException ex)
+ catch (Exception ex)
{
App.Logger.WriteLine(LOG_IDENT, $"Failed to delete {dir}");
App.Logger.WriteException(LOG_IDENT, ex);
From 1828d3036ff0d0fcadafa7304d4914e1e90190f2 Mon Sep 17 00:00:00 2001
From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com>
Date: Tue, 31 Dec 2024 01:44:10 +0000
Subject: [PATCH 2/4] bump version
---
Bloxstrap/Bloxstrap.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Bloxstrap/Bloxstrap.csproj b/Bloxstrap/Bloxstrap.csproj
index 29525fb..9c9b70c 100644
--- a/Bloxstrap/Bloxstrap.csproj
+++ b/Bloxstrap/Bloxstrap.csproj
@@ -7,8 +7,8 @@
true
True
Bloxstrap.ico
- 2.8.5
- 2.8.5
+ 2.8.6
+ 2.8.6
app.manifest
true
false
From ef69d29388566af3c4cd0f99342553c36bf3f871 Mon Sep 17 00:00:00 2001
From: Ryan
Date: Tue, 31 Dec 2024 12:44:31 +0800
Subject: [PATCH 3/4] ci(winget): `vedantmgoyal2009/winget-releaser@v2` ->
`vedantmgoyal9/winget-releaser@main`
---
.github/workflows/winget.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml
index 7e9e09d..e76a433 100644
--- a/.github/workflows/winget.yml
+++ b/.github/workflows/winget.yml
@@ -8,7 +8,7 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- - uses: vedantmgoyal2009/winget-releaser@v2
+ - uses: vedantmgoyal9/winget-releaser@main
with:
identifier: pizzaboxer.Bloxstrap
token: ${{ secrets.WINGET_TOKEN }}
From 5d1aa50753002be94748e2394898042bc2bf0bcd Mon Sep 17 00:00:00 2001
From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com>
Date: Tue, 31 Dec 2024 09:23:31 +0000
Subject: [PATCH 4/4] prevent value from being parsed as an argument
---
Bloxstrap/LaunchSettings.cs | 1 +
1 file changed, 1 insertion(+)
diff --git a/Bloxstrap/LaunchSettings.cs b/Bloxstrap/LaunchSettings.cs
index f2ae908..f8492f7 100644
--- a/Bloxstrap/LaunchSettings.cs
+++ b/Bloxstrap/LaunchSettings.cs
@@ -113,6 +113,7 @@ namespace Bloxstrap
if (i < Args.Length - 1 && Args[i+1] is string nextArg && !nextArg.StartsWith('-'))
{
flag.Data = nextArg;
+ i++;
App.Logger.WriteLine(LOG_IDENT, $"Identifier '{identifier}' is active with data");
}
else