Skip to content

Commit 9869da3

Browse files
committed
arm64 support - 3
1 parent adbc99a commit 9869da3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

main.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,11 @@ int main(int argc, char* argv[])
399399
qDebug() << "Keeping existing AppRun";
400400
} else {
401401
if (QFile::copy(":/assets/AppRun", appDirPath + "/AppRun")) {
402-
if (!QFile::setPermissions(appDirPath + "/AppRun", QFile::ExeUser)) {
402+
if (!QFile::setPermissions(appDirPath + "/AppRun",
403+
QFile::ReadOwner | QFile::ReadGroup
404+
| QFile::ReadOther | QFile::ExeOwner
405+
| QFile::ExeGroup | QFile::WriteOwner
406+
| QFile::WriteGroup)) {
403407
LogError() << "Could not set permissions on AppRun";
404408
}
405409
} else {

0 commit comments

Comments
 (0)