Skip to content

Commit

Permalink
Disabled downloading and installing updates in portable mode.
Browse files Browse the repository at this point in the history
Closes #213.
  • Loading branch information
xvitaly committed Jul 31, 2024
1 parent e5b99d7 commit 9d7f73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mhed/FrmUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ private void UpdAppStatus_Click(object sender, EventArgs e)
{
if (UpMan.CheckAppUpdate())
{
if (Platform.AutoUpdateSupported)
if (Platform.AutoUpdateSupported && !Properties.Settings.Default.IsPortable)
{
if (InstallBinaryUpdate(UpMan.AppUpdateURL))
{
Expand Down

0 comments on commit 9d7f73f

Please sign in to comment.