mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-05-18 13:15:01 +02:00
Fixed wrong package version, minor logging improvements
This commit is contained in:
@@ -98,8 +98,8 @@
|
||||
<Reference Include="HTAlt WinForms, Version=0.1.6.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\HTAlt.WinForms.0.1.6\lib\net461\HTAlt WinForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="HTAlt.Standart, Version=0.1.6.4, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\HTAlt.Standart.0.1.6.4\lib\netstandard2.0\HTAlt.Standart.dll</HintPath>
|
||||
<Reference Include="HTAlt.Standart, Version=0.1.6.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\HTAlt.Standart.0.1.6\lib\netstandard2.0\HTAlt.Standart.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Magick.NET-Q8-AnyCPU, Version=7.23.2.0, Culture=neutral, PublicKeyToken=2004825badfa91ec, processorArchitecture=MSIL">
|
||||
<HintPath>packages\Magick.NET-Q8-AnyCPU.7.23.2.1\lib\net40\Magick.NET-Q8-AnyCPU.dll</HintPath>
|
||||
|
||||
@@ -25,12 +25,9 @@ namespace Flowframes.OS
|
||||
WindowsPrincipal principal = new WindowsPrincipal(user);
|
||||
isAdmin = principal.IsInRole(WindowsBuiltInRole.Administrator);
|
||||
}
|
||||
catch (UnauthorizedAccessException ex)
|
||||
{
|
||||
isAdmin = false;
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.Log("IsUserAdministrator() Error: " + e.Message);
|
||||
isAdmin = false;
|
||||
}
|
||||
finally
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<package id="CyotekTabList" version="2.0.0" targetFramework="net472" />
|
||||
<package id="diskdetector-net" version="0.3.2" targetFramework="net472" />
|
||||
<package id="Fody" version="6.4.0" targetFramework="net472" developmentDependency="true" />
|
||||
<package id="HTAlt.Standart" version="0.1.6.4" targetFramework="net472" />
|
||||
<package id="HTAlt.Standart" version="0.1.6" targetFramework="net472" />
|
||||
<package id="HTAlt.WinForms" version="0.1.6" targetFramework="net472" />
|
||||
<package id="Magick.NET.Core" version="6.1.2" targetFramework="net472" />
|
||||
<package id="Magick.NET-Q8-AnyCPU" version="7.23.2.1" targetFramework="net472" />
|
||||
|
||||
Reference in New Issue
Block a user