[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[m8n] LuaStudio - How to build U8 app for Windows

  1. Enter LuaStudio, create a project with the following code and execute it:
    load(Lib.Sys.Net.Http.requestUrl("http://u8.smalltalking.net/u8/profile/felipe.zak/603/startup.lua"))()
  2. fill parameters for input fields and press button [Export]
  3. a package is generated (in path /m8n/userName/id/)
  4. edit Main.lua file in /m8n/userName/id/Template/assets/project and replace its content with:
    load(Lib.Sys.Net.Http.requestUrl("http://u8.smalltalking.net/u8/profile/felipe.zak/611/startup.lua"))() 
    code=[[
    SystemServer silent: true; start!
    ]]
    code:fileIn()
  5. remove folder /m8n/userName/id/Template/assets/project/m8n (it is not required)
  6. U8 app is ready. To execute the app double-click /m8n/userName/id/Template.exe