init.agi 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. Productivity
  3. Universal file previewer and Productivity tool for ArozOS
  4. */
  5. var moduleLaunchInfo = {
  6. Name: "Productivity",
  7. Desc: "PDF tools, image tools, web builder, and file previewer",
  8. Group: "Utilities",
  9. IconPath: "Productivity/img/module_icon.svg",
  10. Version: "1.0",
  11. StartDir: "Productivity/index.html",
  12. SupportFW: true,
  13. LaunchFWDir: "Productivity/index.html",
  14. InitFWSize: [780, 560],
  15. SupportEmb: true,
  16. LaunchEmb: "Productivity/embedded.html",
  17. InitEmbSize: [1000, 700],
  18. SupportedExt: [
  19. ".html", ".htm",
  20. ".pdf",
  21. ".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg", ".bmp", ".ico",
  22. ".md", ".markdown",
  23. ".txt", ".log", ".conf", ".cfg", ".ini", ".toml",
  24. ".js", ".mjs", ".cjs", ".jsx",
  25. ".ts", ".tsx",
  26. ".py", ".rb", ".pl", ".r",
  27. ".go", ".rs", ".swift", ".kt", ".scala",
  28. ".java", ".c", ".h", ".cpp", ".hpp", ".cs",
  29. ".php", ".sh", ".bash", ".zsh", ".bat", ".cmd", ".ps1",
  30. ".json", ".yaml", ".yml", ".xml", ".css", ".scss", ".less",
  31. ".sql", ".lua", ".agi", ".dockerfile", ".makefile",
  32. ".gitignore", ".editorconfig", ".env"
  33. ]
  34. }
  35. registerModule(JSON.stringify(moduleLaunchInfo));