init.agi 884 B

12345678910111213141516171819202122232425262728
  1. /*
  2. Code Studio 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: "Code Studio",
  10. Desc: "The best code editor on ArozOS",
  11. Group: "Office",
  12. IconPath: "Code Studio/img/module_icon.png",
  13. Version: "1.3",
  14. StartDir: "Code Studio/index.html",
  15. SupportFW: true,
  16. LaunchFWDir: "Code Studio/index.html",
  17. SupportEmb: true,
  18. LaunchEmb: "Code Studio/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));