Skip to content

Commit

Permalink
require elevated permission to improve reliability (source of most re…
Browse files Browse the repository at this point in the history
…ading bugs)
  • Loading branch information
samuderaahr committed Sep 29, 2017
1 parent af14df0 commit e3b8cf6
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 28 deletions.
65 changes: 41 additions & 24 deletions ohm-server/ohm-server/Form1.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 ohm-server/ohm-server/MainGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public ServerGUI()
//Get Human-readable Hardware Names and Specs
GetHardwareNames();
//Update hardware at least once to avoid null temp/other values
//UpdateHardware();
UpdateHardware();
}

// main program sequence, what happens on timerTick
Expand Down
3 changes: 0 additions & 3 deletions ohm-server/ohm-server/MainGUI.resx
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,4 @@
QC7z58JwYP5/B+Ss4/eeL5IAAAAASUVORK5CYII=
</value>
</data>
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
20 changes: 20 additions & 0 deletions ohm-server/ohm-server/Properties/Resources.Designer.cs

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

6 changes: 6 additions & 0 deletions ohm-server/ohm-server/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,13 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="refresh" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\refresh.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="oshw" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\oshw.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="refresh1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\refresh.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
7 changes: 7 additions & 0 deletions ohm-server/ohm-server/ohm-server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<PropertyGroup>
<ApplicationIcon>oshw.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -80,6 +83,9 @@
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="app.manifest">
<SubType>Designer</SubType>
</None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand All @@ -95,6 +101,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="oshw.ico" />
<None Include="Resources\refresh.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

0 comments on commit e3b8cf6

Please sign in to comment.