Windows installer prep

This commit is contained in:
adityapk00
2018-10-30 22:18:18 -07:00
parent 186e4dfd83
commit 551eda9c52
4 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
function Component()
{
// default constructor
}
Component.prototype.createOperations = function()
{
// call default implementation to actually install README.txt!
component.createOperations();
if (systemInfo.productType === "windows") {
component.addOperation("CreateShortcut", "@TargetDir@/zec-qt-wallet.exe", "@StartMenuDir@/zecqtwallet.lnk",
"workingDirectory=@TargetDir@");
}
}