summaryrefslogtreecommitdiffstats
path: root/examples/modifyextract/packages/org.qtproject.ifw.example.modifyextract/meta/installscript.js
blob: 59f5ee2bc8d886ce01e0ea62e375db4ff6bf4042 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function Component()
{
}

Component.prototype.createOperationsForArchive = function(archive)
{
    // don't use the default operation
    // component.createOperationsForArchive(archive);

    // add an extract operation with a modified path
    component.addOperation("Extract", archive, "@TargetDir@/extractToAnotherPath");
}