Skip to content

Commit

Permalink
v2022.5.13
Browse files Browse the repository at this point in the history
  • Loading branch information
LAB02 Research committed May 13, 2022
1 parent 7424aad commit 1cb1ca4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ScoopBoxManager/Forms/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private async void BtnLaunch_Click(object sender, EventArgs e)
var scoop = appSettings.ConvertToScoopPackageManagerScript();

// check for conflicting settings
if (options.Networking == NetworkingOptions.Disable && (choco.Applications.Any() || scoop.Applications.Any()))
if (choco != null && scoop != null && options.Networking == NetworkingOptions.Disable && (choco.Applications.Any() || scoop.Applications.Any()))
{
// without networking, no packages will get downloaded ..
var q = MessageBox.Show("You've disabled networking, but added packages. They won't be able to download.\r\n\r\nAre you sure you want to continue?", "ScoopBoxManager", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);
Expand Down
5 changes: 1 addition & 4 deletions src/ScoopBoxManager/Functions/HelperFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ internal static class HelperFunctions
/// <param name="url"></param>
internal static void LaunchUrl(string url)
{
using (_ = Process.Start(new ProcessStartInfo(url) { UseShellExecute = true }))
{
//
}
using (_ = Process.Start(new ProcessStartInfo(url) { UseShellExecute = true })) { }
}
}
}
2 changes: 1 addition & 1 deletion src/ScoopBoxManager/ScoopBoxManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<ApplicationIcon>sbm.ico</ApplicationIcon>
<Version>2022.3.10</Version>
<Version>2022.5.13</Version>
<Authors>LAB02 Research</Authors>
<Description>Graphical interface for @hasan-hasanov's great ScoopBox, which in turn uses Windows' (also great) new Sandbox feature.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down

0 comments on commit 1cb1ca4

Please sign in to comment.