Skip to content
This repository has been archived by the owner on Sep 1, 2018. It is now read-only.

advanced type

guiweber edited this page Jun 17, 2016 · 5 revisions

The advanced type executes an external js script with the name of the app, which must be placed in the advanced_rules folder. Use advanced rules as a last resort only.

"x86":{
  "rule_type": "advanced"
}

The script must expose the getlink function which receives the page data and architecture in argument, and returns a download link.

exports.get_link = function(page, arch){}
Clone this wiki locally