Here is the code of my Launcher:
Code: Select all
on OpenStack
   set the itemDel to "/"  
   if the environment is "standalone application" then
      if the platform is "Windows" or "Linux" or "Android" or "Kali Linux" or "ios" or "macOS" or "ipadOS" or "html" or "Debian" then
         set the folder to item 1 to -5 of the filename of this stack
      else
         set the folder to item 1 to -2 of the filename of this stack
      end if
   else
      set the folder to item 1 to -2 of the filename of this stack
   end if
   
   open stack "postEleve .livecode" -- open the stack mainStack .livecode            (There is no space between postEleve and .livecode)
   close stack "TheLauncher"
end OpenStack


