Skip to content

Commit

Permalink
trigger ci 16
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmnk Freemountainer authored and Dmnk Freemountainer committed Nov 24, 2016
1 parent 63d591d commit 10385e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ deploy:
on:
appveyor_repo_tag: true
on_finish:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- ps: $blockRdp = $false; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
14 changes: 8 additions & 6 deletions src/cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,26 @@
#include <QtGui/QGuiApplication>
#include <QObject>
#include <QtDebug>
#include <QTextStream>

#include "quarkprocess.h"
#include "environment.h"

int main(int argc, char *argv[])
{
QTextStream out(stderr);
QGuiApplication app(argc, argv);

Environment* env = new Environment(app.arguments());
QuarkProcess* proc;

qDebug() << "node:" << env->getCommand("node");
qDebug() << "NODE_PATH" << env->getProcEnv().value("NODE_PATH");
qDebug() << "script:" << env->getScriptPath();
qDebug() << "data:" << env->getDataPath().path();
qDebug() << "bundled app:" << env->getBundledAppPath();

out << "\nnode:" << env->getCommand("node");
out << "\nNODE_PATH" << env->getProcEnv().value("NODE_PATH");
out << "\nscript:" << env->getScriptPath();
out << "\ndata:" << env->getDataPath().path();
out << "\nbundled app:" << env->getBundledAppPath();

out.flush();
if(env->getScriptPath() == "") {
proc = env->startProcess(env->getBundledAppPath());
} else {
Expand Down

0 comments on commit 10385e8

Please sign in to comment.