init.agi 868 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("NotepadA")
  7. //Define the launchInfo for the module
  8. var moduleLaunchInfo = {
  9. Name: "NotepadA",
  10. Desc: "The best code editor on ArOZ Online",
  11. Group: "Office",
  12. IconPath: "NotepadA/img/module_icon.png",
  13. Version: "1.2",
  14. StartDir: "NotepadA/index.html",
  15. SupportFW: true,
  16. LaunchFWDir: "NotepadA/index.html",
  17. SupportEmb: true,
  18. LaunchEmb: "NotepadA/embedded.html",
  19. InitFWSize: [1024, 768],
  20. InitEmbSize: [360, 200],
  21. SupportedExt: [".bat",".coffee",".cpp",".cs",".csp",".csv",".fs",".dockerfile",".go",".html",".ini",".java",".js",".agi", ".lua",".mips",".md", ".sql",".txt",".php",".py",".ts",".xml",".yaml"]
  22. }
  23. //Register the module
  24. registerModule(JSON.stringify(moduleLaunchInfo));