From 62b4af3c2b4cf2b61fbb1626be5b3927b43f0f5b Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Wed, 6 Jul 2016 10:26:36 -0400 Subject: AppVeyor build test. --- source/WindowsFormsApplication1/Engine/Lua_Interp.cs | 6 +++--- source/WindowsFormsApplication1/ShiftOS.csproj | 2 +- source/dependencies/NetSockets.dll | Bin 0 -> 24576 bytes 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 source/dependencies/NetSockets.dll diff --git a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs index 529518e..bb76c77 100644 --- a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs +++ b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs @@ -186,12 +186,12 @@ namespace ShiftOS WindowBorder b = null; foreach(Control c in win.Controls) { - if ((string)c.Tag == "api_brdr") - b = (WindowBorder)c; + if (c is WindowBorder) + b = c as WindowBorder; } return b; }); - + mod.def_update = new Action(() => API.UpdateWindows()); mod.on_app_launcher_populate += new Action((desktop, func) => { desktop.OnAppLauncherPopulate += (items) => diff --git a/source/WindowsFormsApplication1/ShiftOS.csproj b/source/WindowsFormsApplication1/ShiftOS.csproj index dcae2c7..b835f29 100644 --- a/source/WindowsFormsApplication1/ShiftOS.csproj +++ b/source/WindowsFormsApplication1/ShiftOS.csproj @@ -56,7 +56,7 @@ True - ..\..\..\..\Downloads\NetSockets.dll + ..\dependencies\NetSockets.dll ..\packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll diff --git a/source/dependencies/NetSockets.dll b/source/dependencies/NetSockets.dll new file mode 100644 index 0000000..db2db50 Binary files /dev/null and b/source/dependencies/NetSockets.dll differ -- cgit v1.2.3