mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-30 03:34:34 +00:00
27 lines
630 B
JavaScript
27 lines
630 B
JavaScript
|
function Controller()
|
||
|
{
|
||
|
generateTr();
|
||
|
|
||
|
installer.setMessageBoxAutomaticAnswer("OverwriteTargetDirectory", QMessageBox.Yes);
|
||
|
installer.uninstallationFinished.connect(this, Controller.prototype.uninstallationFinished);
|
||
|
installer.installationFinished.connect(this, Controller.prototype.installationFinished);
|
||
|
}
|
||
|
|
||
|
function generateTr() {
|
||
|
console.log("generate tr start ")
|
||
|
|
||
|
installer.setValue("Name", qsTr("CQtDeployer"));
|
||
|
installer.setValue("Title", qsTr("Install CQtDeployer"));
|
||
|
}
|
||
|
|
||
|
Controller.prototype.uninstallationFinished = function()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
Controller.prototype.installationFinished = function()
|
||
|
{
|
||
|
|
||
|
}
|