From b5d51784117f5fdecb14bc1cef6a6d2477a7c810 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 27 Jan 2017 14:18:46 -0500 Subject: Modularize the Lua engine C# code can be exposed to Lua from anywhere in the entire source code. --- ShiftOS.WinForms/Program.cs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'ShiftOS.WinForms/Program.cs') diff --git a/ShiftOS.WinForms/Program.cs b/ShiftOS.WinForms/Program.cs index dfb935e..ea6445c 100644 --- a/ShiftOS.WinForms/Program.cs +++ b/ShiftOS.WinForms/Program.cs @@ -188,17 +188,6 @@ namespace ShiftOS.WinForms case FileType.Executable: //NYI throw new Exception(); - case FileType.Python: - var p = new Engine.Scripting.PythonInterpreter(); - try - { - p.ExecuteFile(path); - } - catch (Exception ex) - { - Infobox.Show("{PY_EXCEPTION}", ex.Message); - } - break; case FileType.Lua: try { -- cgit v1.2.3