Skip to content

Commit

Permalink
fix run script
Browse files Browse the repository at this point in the history
  • Loading branch information
EndrII committed Sep 8, 2018
1 parent f202fa7 commit def5caf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CQtDeployer/deploy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,15 @@ bool Deploy::createRunScript() {
F.flush();
F.close();

return F.setPermissions(QFileDevice::ExeUser |
return F.setPermissions(QFileDevice::ExeOther |
QFileDevice::WriteOther |
QFileDevice::ReadOther |
QFileDevice::ExeUser |
QFileDevice::WriteUser |
QFileDevice::ReadUser);
QFileDevice::ReadUser |
QFileDevice::ExeOwner |
QFileDevice::WriteOwner |
QFileDevice::ReadOwner);

}

Expand Down Expand Up @@ -446,8 +452,6 @@ QStringList Deploy::extractImportsFromFiles(const QStringList &filepath){
<< "-importPath" << qmlDir);
p.start();

qInfo() << "run extract qml";

if (!p.waitForFinished()) {
qWarning() << filepath << " not scaning!";
return QStringList();
Expand Down

0 comments on commit def5caf

Please sign in to comment.