aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'source/WindowsFormsApplication1/Program.cs')
-rw-r--r--source/WindowsFormsApplication1/Program.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/WindowsFormsApplication1/Program.cs b/source/WindowsFormsApplication1/Program.cs
index 668b08e..2b9bd47 100644
--- a/source/WindowsFormsApplication1/Program.cs
+++ b/source/WindowsFormsApplication1/Program.cs
@@ -66,6 +66,13 @@ namespace ShiftOS
//Load ShiftOS skin
Skinning.Utilities.loadskin();
SaveSystem.ShiftoriumRegistry.UpdateShiftorium();
+ //Lua bootscreen.
+ if(File.Exists(Paths.SaveRoot + "BOOT"))
+ {
+ string lua = File.ReadAllText(Paths.SaveRoot + "BOOT");
+ var l = new LuaInterpreter();
+ l.mod(lua);
+ }
//Start recieving calls from the Modding API...
Application.Run(new ShiftOSDesktop());
//By now, the API receiver has been loaded,