init.agi 770 B

12345678910111213141516171819202122232425262728
  1. /*
  2. NotepadA Module Registration Information
  3. Do not try to call any AJGI users / filepath functions in this script.
  4. */
  5. //Create database for this module
  6. newDBTableIfNotExists("Code Studio")
  7. //Define the launchInfo for the module
  8. var moduleLaunchInfo = {
  9. Name: "NotepadA",
  10. Desc: "The legacy NotepadA from ArOZ Online Beta",
  11. Group: "Office",
  12. IconPath: "NotepadA/img/small_icon.png",
  13. Version: "2.0",
  14. StartDir: "NotepadA/index.html",
  15. SupportFW: true,
  16. LaunchFWDir: "NotepadA/index.html",
  17. SupportEmb: true,
  18. LaunchEmb: "NotepadA/embedded.html",
  19. InitFWSize: [1024, 600],
  20. InitEmbSize: [360, 200],
  21. SupportedExt: [".txt", ".md", ".php", ".html", ".js", ".htm", ".csv", ".json", ".xml"]
  22. }
  23. //Register the module
  24. registerModule(JSON.stringify(moduleLaunchInfo));