Skip to content

Commit b5acbdd

Browse files
authored
Merge pull request #1 from RyanWalpoleEnterprises/unstable-dev
Merge Unstable to Main
2 parents 57c52f1 + 69c3e14 commit b5acbdd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+13513
-29
lines changed

installer/cver.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
230101
1+
230301

installer/installmoxoquickweb.exe

9.64 MB
Binary file not shown.
-7 KB
Binary file not shown.

moxolib/win32/moxo.web.UI/Moxo Web UI/Moxo Web UI.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@
101101
<DesignTimeSharedInput>True</DesignTimeSharedInput>
102102
</Compile>
103103
</ItemGroup>
104-
<ItemGroup>
105-
<None Include="App.config" />
106-
</ItemGroup>
107104
<ItemGroup>
108105
<None Include="Resources\Dark-Arrow-Left.png" />
109106
</ItemGroup>

moxolib/win32/moxo.web.UI/Moxo Web UI/Program.cs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,18 @@ static void Main()
2020

2121
try
2222
{
23-
string WV = CoreWebView2Environment.GetAvailableBrowserVersionString();
24-
25-
if (WV != null)
23+
var version = CoreWebView2Environment.GetAvailableBrowserVersionString();
24+
if(version != null)
2625
{
2726
Application.Run(new Startup());
2827
}
29-
else
30-
{
31-
//Microsoft Edge WebView2 Runtime Not Installed
32-
MessageBox.Show("WebView2 is not installed on this system. For more information, visit https://github.com/RyanWalpoleEnterprises/Moxo-QuickWeb");
33-
}
28+
// Do something with `version` if needed.
3429
}
35-
catch
30+
catch (WebView2RuntimeNotFoundException exception)
3631
{
37-
//Microsoft Edge WebView2 Runtime Assumed Not Installed
32+
// Handle the runtime not being installed.
33+
// `exception.Message` is very nicely specific: It (currently at least) says "Couldn't find a compatible Webview2 Runtime installation to host WebViews."
34+
//Microsoft Edge WebView2 Runtime Not Installed
3835
MessageBox.Show("WebView2 is not installed on this system. For more information, visit https://github.com/RyanWalpoleEnterprises/Moxo-QuickWeb");
3936
}
4037
}

moxolib/win32/moxo.web.UI/Moxo Web UI/Startup.Designer.cs

Lines changed: 4 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

moxolib/win32/moxo.web.UI/Moxo Web UI/Startup.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,22 @@ public Startup()
3737
this.Height = Properties.Settings.Default.MainWindowHeight;
3838
this.Width = Properties.Settings.Default.MainWindowWidth;
3939
this.Text = Properties.Settings.Default.ApplicationName;
40+
41+
//Set iconography
42+
UI_Button_Back.Image = Properties.Resources.Dark_Arrow_Left;
43+
UI_Button_Forward.Image = Properties.Resources.ic_fluent_arrow_right_24_filled;
44+
UI_Button_Refresh.Image = Properties.Resources.Dark_Reload;
45+
UI_Button_About.Image = Properties.Resources.ic_fluent_chat_help_24_filled;
46+
47+
try
48+
{
49+
//Set the URL for the WebView
50+
UI_WebView.Source = new Uri(Settings.Default.WebViewSource);
51+
}
52+
catch
53+
{
54+
//
55+
}
4056
}
4157

4258
private void PreInitializeBrowserAsync()
Binary file not shown.

src/Moxo QuickWeb/.vs/Moxo QuickWeb/FileContentIndex/e1528484-6e2d-4930-aced-04b219b01a77.vsidx renamed to src/Moxo QuickWeb/.vs/Moxo QuickWeb/FileContentIndex/529fdbaa-7d53-440f-8461-4103fb9d29fd.vsidx

File renamed without changes.
Binary file not shown.

0 commit comments

Comments
 (0)