Skip to content

Commit c667a86

Browse files
committed
arm64 support - 2
1 parent bf51993 commit c667a86

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
2828
- name: Install Qt
2929
run: |
30-
python3 -m aqt install-qt linux desktop $QT_VERSION linux_gcc_64 -O /tmp/qt -m $QT_MODULES
31-
python3 -m aqt install-qt linux_arm64 desktop $QT_VERSION linux_gcc_arm64 -O /tmp/qt -m $QT_MODULES
30+
python3 -m aqt install-qt linux desktop $QT_VERSION linux_gcc_64 -O /tmp/qt
31+
python3 -m aqt install-qt linux_arm64 desktop $QT_VERSION linux_gcc_arm64 -O /tmp/qt
3232
3333
- name: Build for amd64
3434
run: |

main.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,10 @@ int main(int argc, char* argv[])
398398
if (appRun.exists()) {
399399
qDebug() << "Keeping existing AppRun";
400400
} else {
401-
if (!QFile::copy(":/assets/AppRun", appDirPath + "/AppRun")) {
401+
if (QFile::copy(":/assets/AppRun", appDirPath + "/AppRun")) {
402+
if (!QFile::setPermissions(appDirPath + "/AppRun", QFile::ExeUser))
403+
LogError() << "Could not set permissions on AppRun";
404+
} else {
402405
LogError() << "Could not copy AppRun";
403406
}
404407
}

0 commit comments

Comments
 (0)