diff options
| author | Michael <[email protected]> | 2017-01-27 14:18:46 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-01-27 14:18:50 -0500 |
| commit | b5d51784117f5fdecb14bc1cef6a6d2477a7c810 (patch) | |
| tree | d9f1828a791bd1bb527fa67c72ed4d875c820366 /ShiftOS.WinForms | |
| parent | c62cb58ba0c3a6c0d54680c7a5412fd143aff98c (diff) | |
| download | shiftos_thereturn-b5d51784117f5fdecb14bc1cef6a6d2477a7c810.tar.gz shiftos_thereturn-b5d51784117f5fdecb14bc1cef6a6d2477a7c810.tar.bz2 shiftos_thereturn-b5d51784117f5fdecb14bc1cef6a6d2477a7c810.zip | |
Modularize the Lua engine
C# code can be exposed to Lua from anywhere in the entire source code.
Diffstat (limited to 'ShiftOS.WinForms')
| -rw-r--r-- | ShiftOS.WinForms/Program.cs | 11 |
1 files changed, 0 insertions, 11 deletions
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 { |
