Skip to content

Commit

Permalink
Disable Updates If Running from Program Data Folder fix #1841
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorBanai committed Sep 5, 2023
1 parent 22eea7f commit 88d6e2f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions Analogy/CommonChangeLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public static IEnumerable<AnalogyChangeLog> GetChangeLog()
{
return new List<AnalogyChangeLog>
{
new ("V5.0.0 - Disable Updates If Running from Program Data Folder #1841", AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2023,09,05),"5.0.0.0"),
new ("V5.0.0 - Support running from MSI Installer #1838", AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2023,09,03),"5.0.0.0"),
new ("V5.0.0 - Add Export to Simple File #1815", AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2023,08,25),"5.0.0.0"),
new ("V5.0.0 - Change Time Offset is very slow #1769", AnalogChangeLogType.Bug,"Lior Banai",new DateTime(2023,08,25),"5.0.0.0"),
Expand Down
7 changes: 4 additions & 3 deletions Analogy/Forms/UpdateForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Analogy/Managers/AnalogyNonPersistSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class AnalogyNonPersistSettings
public bool DisableUpdateFromRegistry { get; set; }
public string CurrentLogLayoutFileName { get; } = "AnalogyLogsCurrentLayout.xml";
public string CurrentLogLayoutName { get; } = "Active Layout";
public bool UpdateAreDisabled => DisableUpdateFromRegistry || DisableUpdatesByDataProvidersOverrides;
public bool UpdateAreDisabled => DisableUpdateFromRegistry || DisableUpdatesByDataProvidersOverrides || Utils.IsRunningFromProgramFileFolder();
public string AnalogyOrganizationName => "Analogy-LogViewer";
public string AnalogyRepositoryName => "Analogy.LogViewer";
public AnalogyNonPersistSettings()
Expand Down

0 comments on commit 88d6e2f

Please sign in to comment.