mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-02 20:49:35 +00:00
41 lines
693 B
C++
41 lines
693 B
C++
#include "qif.h"
|
|
#include "quasarapp.h"
|
|
|
|
QIF::QIF()= default;
|
|
|
|
Envirement QIF::toolKitLocation() const {
|
|
// SNAP
|
|
Envirement result;
|
|
|
|
QString AppPath = QuasarAppUtils::Params::getStrArg("appPath", "");
|
|
result.addEnv(AppPath);
|
|
|
|
//Installer
|
|
result.addEnvRec(AppPath + "../../QIF/", 2);
|
|
|
|
return result;
|
|
}
|
|
|
|
QString QIF::getConfig() const {
|
|
return ":/Distro/Distributions/configures/QIF.json";
|
|
}
|
|
|
|
QString QIF::runCmd() const {
|
|
return "binarycreator";
|
|
}
|
|
|
|
void QIF::deployTemplate() const {
|
|
auto customTemplate = QuasarAppUtils::Params::getStrArg("qif", "");
|
|
|
|
if (customTemplate.size()) {
|
|
|
|
} else {
|
|
|
|
}
|
|
}
|
|
|
|
QStringList QIF::runArg() const {
|
|
return {};
|
|
}
|
|
|