Skip to content

Commit

Permalink
Support system-wide installations
Browse files Browse the repository at this point in the history
Closes #7
  • Loading branch information
timokoessler committed Mar 26, 2024
1 parent e50388b commit 017419b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Guard/Installer/installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ ShowLanguageDialog=auto
DisableReadyPage=yes
UsePreviousTasks=yes
DisableFinishedPage=yes
PrivilegesRequiredOverridesAllowed=dialog
ArchitecturesInstallIn64BitMode=x64

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Expand Down
8 changes: 4 additions & 4 deletions Guard/Views/Pages/Start/UpdatePage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.Diagnostics;
using Guard.Core;
using Guard.Core.Installation;
using System.Diagnostics;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using Guard.Core;
using Guard.Core.Installation;

namespace Guard.Views.Pages.Start
{
Expand Down Expand Up @@ -57,7 +57,7 @@ private async void Install_Click(object sender, RoutedEventArgs e)
)
: Path.Combine(
Path.GetTempPath(),
$"2FAGuard-Installer-{updateInfo.Version}-{DateTimeOffset.UtcNow.ToUnixTimeSeconds()}.exe"
$"2FAGuard-Updater-{updateInfo.Version}.exe"
)
);

Expand Down

0 comments on commit 017419b

Please sign in to comment.