We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adbc99a commit 9869da3Copy full SHA for 9869da3
main.cpp
@@ -399,7 +399,11 @@ int main(int argc, char* argv[])
399
qDebug() << "Keeping existing AppRun";
400
} else {
401
if (QFile::copy(":/assets/AppRun", appDirPath + "/AppRun")) {
402
- if (!QFile::setPermissions(appDirPath + "/AppRun", QFile::ExeUser)) {
+ if (!QFile::setPermissions(appDirPath + "/AppRun",
403
+ QFile::ReadOwner | QFile::ReadGroup
404
+ | QFile::ReadOther | QFile::ExeOwner
405
+ | QFile::ExeGroup | QFile::WriteOwner
406
+ | QFile::WriteGroup)) {
407
LogError() << "Could not set permissions on AppRun";
408
}
409
0 commit comments