init.agi 548 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. TorrentA
  3. authro: tobychui
  4. */
  5. //Define the launchInfo for the module
  6. var moduleLaunchInfo = {
  7. Name: "TorrentA",
  8. Group: "Download",
  9. IconPath: "TorrentA/img/small_icon.png",
  10. Version: "0.1",
  11. StartDir: "TorrentA/index.html",
  12. SupportFW: true,
  13. LaunchFWDir: "TorrentA/index.html",
  14. SupportEmb: true,
  15. LaunchEmb: "TorrentA/embedded.html",
  16. InitFWSize: [1150, 640],
  17. InitEmbSize: [1150, 640],
  18. SupportedExt: [".torrent"]
  19. }
  20. //Require aria2
  21. requirepkg("aria2",true)
  22. //Register the module
  23. registerModule(JSON.stringify(moduleLaunchInfo));