Skip to content

Commit

Permalink
arm64 support - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
omergoktas committed Nov 20, 2024
1 parent bf51993 commit adbc99a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Install Qt
run: |
python3 -m aqt install-qt linux desktop $QT_VERSION linux_gcc_64 -O /tmp/qt -m $QT_MODULES
python3 -m aqt install-qt linux_arm64 desktop $QT_VERSION linux_gcc_arm64 -O /tmp/qt -m $QT_MODULES
python3 -m aqt install-qt linux desktop $QT_VERSION linux_gcc_64 -O /tmp/qt
python3 -m aqt install-qt linux_arm64 desktop $QT_VERSION linux_gcc_arm64 -O /tmp/qt
- name: Build for amd64
run: |
Expand Down
6 changes: 5 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,11 @@ int main(int argc, char* argv[])
if (appRun.exists()) {
qDebug() << "Keeping existing AppRun";
} else {
if (!QFile::copy(":/assets/AppRun", appDirPath + "/AppRun")) {
if (QFile::copy(":/assets/AppRun", appDirPath + "/AppRun")) {
if (!QFile::setPermissions(appDirPath + "/AppRun", QFile::ExeUser)) {
LogError() << "Could not set permissions on AppRun";
}
} else {
LogError() << "Could not copy AppRun";
}
}
Expand Down

0 comments on commit adbc99a

Please sign in to comment.