Skip to content

Commit

Permalink
Run updates as admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandru Macocian committed Apr 23, 2021
1 parent 3ed1cc4 commit be03f1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
3 changes: 2 additions & 1 deletion Daybreak/Daybreak.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<LangVersion>preview</LangVersion>
<ApplicationIcon>Daybreak.ico</ApplicationIcon>
<Version>0.7.8</Version>
<Version>0.7.7</Version>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>

Expand All @@ -22,6 +22,7 @@
<PackageReference Include="SystemExtensions.NetStandard" Version="1.1.4" />
<PackageReference Include="WCL" Version="1.0.2" />
<PackageReference Include="WpfExtended" Version="0.2.0" />
<PackageReference Include="WpfScreenHelper" Version="1.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion Daybreak/Services/Updater/ApplicationUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ private void LaunchExtractor()
RedirectStandardInput = true,
RedirectStandardOutput = true,
WindowStyle = ProcessWindowStyle.Maximized,
WorkingDirectory = Directory.GetCurrentDirectory()
WorkingDirectory = Directory.GetCurrentDirectory(),
Verb = "runas"
},
};
this.logger.LogInformation("Created extractor script. Attempting to launch powershell");
Expand Down
22 changes: 0 additions & 22 deletions Daybreak/app.manifest

This file was deleted.

0 comments on commit be03f1a

Please sign in to comment.