Skip to content

Commit 28ec044

Browse files
committed
Update dependencies, status labels
1 parent 4a6664f commit 28ec044

File tree

7 files changed

+10
-14
lines changed

7 files changed

+10
-14
lines changed

EasyFramework

OpenVR2WS/DataStore.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Concurrent;
33
using System.Collections.Generic;
4-
using System.Diagnostics;
54
using OpenVR2WS.Output;
65
using Valve.VR;
76
using static EasyOpenVR.EasyOpenVRSingleton;

OpenVR2WS/MainWindow.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
mc:Ignorable="d"
7-
Title="MainWindow" Height="415" Width="360" Closing="Window_Closing" Icon="resources/logo.ico" StateChanged="Window_StateChanged">
7+
Title="MainWindow" Height="415" Width="370" Closing="Window_Closing" Icon="resources/logo.ico" StateChanged="Window_StateChanged">
88
<DockPanel LastChildFill="True" Margin="10">
99
<GroupBox Header="Status &amp; Help" DockPanel.Dock="Top" Background="WhiteSmoke">
1010
<StackPanel Orientation="Vertical">
1111
<StackPanel Orientation="Horizontal" Margin="5">
1212
<Label Content="OpenVR status:"/>
13-
<Label x:Name="LabelOpenVrStatus" Content="openvr status" Background="Gray" Foreground="White"/>
13+
<Label x:Name="LabelOpenVrStatus" Content="OpenVR Status" Background="Gray" Foreground="White"/>
1414
</StackPanel>
1515
<StackPanel Orientation="Horizontal" Margin="5 0 5 5">
1616
<Label Content="Server status:"/>
17-
<Label x:Name="LabelServerStatus" Content="server status" Background="Gray" Foreground="White"/>
17+
<Label x:Name="LabelServerStatus" Content="Server Status" Background="Gray" Foreground="White"/>
1818
</StackPanel>
1919
<StackPanel Orientation="Horizontal" Margin="5 0 5 5">
2020
<TextBlock x:Name="TextBlockHelp" HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top" Margin="10 0 10 0">

OpenVR2WS/MainWindow.xaml.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ public MainWindow()
6060
{
6161
case SuperServer.ServerStatus.Connected:
6262
LabelServerStatus.Background = Brushes.OliveDrab;
63-
LabelServerStatus.Content = "Connected";
63+
LabelServerStatus.Content = "Available";
6464
break;
6565
case SuperServer.ServerStatus.Disconnected:
6666
LabelServerStatus.Background = Brushes.Tomato;
67-
LabelServerStatus.Content = "Disconnected";
67+
LabelServerStatus.Content = "Unavailable";
6868
break;
6969
case SuperServer.ServerStatus.Error:
7070
LabelServerStatus.Background = Brushes.Gray;
@@ -202,10 +202,7 @@ private void Button_RemoteSettingsPassword_Click(object sender, RoutedEventArgs
202202
SingleInputDialog dlg = new(this, "", "Password");
203203
dlg.ShowDialog();
204204
var value = dlg.DialogResult == true ? dlg.Value : "";
205-
var enc = Encoding.UTF8;
206-
var hash = SHA256.HashData(enc.GetBytes(value));
207-
var hashBase64String = Convert.ToBase64String(hash);
208-
_settings.RemoteSettingsPasswordHash = hashBase64String;
205+
_settings.RemoteSettingsPasswordHash = MiscUtils.HashPassword(value);
209206
_settings.Save();
210207
}
211208
}

OpenVR2WS/Properties/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,6 @@
125125
<value>..\resources\Logo.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
126126
</data>
127127
<data name="Version" xml:space="preserve">
128-
<value>v2.9.0</value>
128+
<value>v2.9.1</value>
129129
</data>
130130
</root>

Types/dist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openvr2ws-types",
3-
"version": "2.9.0",
3+
"version": "2.9.1",
44
"description": "TypeScript type definitions for the input and output of OpenVR2WS.",
55
"type": "module",
66
"types": "types/index.d.ts",

0 commit comments

Comments
 (0)