An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix ci
rustdeskaa9da0b0c804
diff --git a/.github/workflows/build-macos-arm64.yml b/.github/workflows/build-macos-arm64.ymlindex f808f1b43..20af82768 100644--- a/.github/workflows/build-macos-arm64.yml+++ b/.github/workflows/build-macos-arm64.yml@@ -58,6 +58,7 @@ jobs:mv rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.deb rustdesk-${{ env.VERSION }}.deb- name: Patch archlinux PKGBUILD+ if: matrix.job.arch == 'x86_64'run: |sed -i "s/x86_64/${{ matrix.job.arch }}/g" res/PKGBUILDif [[ "${{ matrix.job.arch }}" == "aarch64" ]]; then@@ -77,6 +78,7 @@ jobs:esac- name: Build archlinux package+ if: matrix.job.arch == 'x86_64'uses: rustdesk-org/arch-makepkg-action@masterwith:packages: >@@ -113,6 +115,7 @@ jobs:cd res && HBB=`pwd`/.. FLUTTER=1 makepkg -f- name: Publish archlinux package+ if: matrix.job.arch == 'x86_64'uses: softprops/action-gh-release@v1with:prerelease: true@@ -133,6 +136,15 @@ jobs:pushd appimagesudo appimage-builder --skip-tests --recipe ./AppImageBuilder-${{ matrix.job.arch }}.yml+ - name: Publish appimage package+ if: matrix.job.extra-build-features == 'appimage' && env.UPLOAD_ARTIFACT == 'true'+ uses: softprops/action-gh-release@v1+ with:+ prerelease: true+ tag_name: ${{ env.TAG_NAME }}+ files: |+ ./appimage/rustdesk-${{ env.VERSION }}-*.AppImage+build-flatpak:name: Build Flatpak ${{ matrix.job.target }}runs-on: ${{ matrix.job.on }}diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.ymlindex 7e49196be..710e4ab2e 100644--- a/.github/workflows/flutter-build.yml+++ b/.github/workflows/flutter-build.yml@@ -1219,6 +1219,63 @@ jobs:name: rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.debpath: rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.deb+ # only x86_64 for arch since we can not find newest arm64 docker image to build+ # old arch image does not make sense for arch since it is "arch" which always update to date+ # and failed to makepkg arm64 on x86_64+ - name: Patch archlinux PKGBUILD+ if: matrix.job.arch == 'x86_64' && env.UPLOAD_ARTIFACT == 'true'+ run: |+ sed -i "s/x86_64/${{ matrix.job.arch }}/g" res/PKGBUILD+ if [[ "${{ matrix.job.arch }}" == "aarch64" ]]; then+ sed -i "s/linux\/x64/linux\/arm64/g" ./res/PKGBUILD+ fi++ - name: Build archlinux package+ if: matrix.job.arch == 'x86_64' && env.UPLOAD_ARTIFACT == 'true'+ uses: rustdesk-org/arch-makepkg-action@master+ with:+ packages: >+ llvm+ clang+ libva+ libvdpau+ rust+ gstreamer+ unzip+ git+ cmake+ gcc+ curl+ wget+ nasm+ zip+ make+ pkg-config+ clang+ gtk3+ xdotool+ libxcb+ libxfixes+ alsa-lib+ pipewire+ python+ ttf-arphic-uming+ libappindicator-gtk3+ pam+ gst-plugins-base+ gst-plugin-pipewire+ scripts: |+ cd res && HBB=`pwd`/.. FLUTTER=1 makepkg -f++ - name: Publish archlinux package+ if: matrix.job.arch == 'x86_64' && env.UPLOAD_ARTIFACT == 'true'+ uses: softprops/action-gh-release@v1+ with:+ prerelease: true+ tag_name: ${{ env.TAG_NAME }}+ files: |+ res/rustdesk-${{ env.VERSION }}*.zst+build-rustdesk-sciter-arm:if: ${{ inputs.upload-artifact }}needs: build-rustdesk-linux # not for dep, just make it run later for parallelism@@ -1389,8 +1446,8 @@ jobs:files: |rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}-sciter.deb- build-arch-appimage:- name: Build arch/appimage ${{ matrix.job.target }}+ build-appimage:+ name: Build appimage ${{ matrix.job.target }}needs: [build-rustdesk-linux]runs-on: ubuntu-20.04if: ${{ inputs.upload-artifact }}@@ -1420,71 +1477,6 @@ jobs:run: |mv rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.deb rustdesk-${{ env.VERSION }}.deb- - name: Patch archlinux PKGBUILD- run: |- sed -i "s/x86_64/${{ matrix.job.arch }}/g" res/PKGBUILD- if [[ "${{ matrix.job.arch }}" == "aarch64" ]]; then- sed -i "s/linux\/x64/linux\/arm64/g" ./res/PKGBUILD- fi- sudo apt-get update -y- sudo apt-get install -y libarchive-tools- bsdtar -zxvf rustdesk-${{ env.VERSION }}.deb- tar -xvf ./data.tar.xz- case ${{ matrix.job.arch }} in- aarch64)- mkdir -p flutter/build/linux/arm64/release/bundle- cp -rf usr/lib/rustdesk/* flutter/build/linux/arm64/release/bundle/- ;;- x86_64)- mkdir -p flutter/build/linux/x64/release/bundle- cp -rf usr/lib/rustdesk/* flutter/build/linux/x64/release/bundle/- ;;- esac-- - name: Build archlinux package- uses: rustdesk-org/arch-makepkg-action@master- with:- packages: >- llvm- clang- libva- libvdpau- rust- gstreamer- unzip- git- cmake- gcc- curl- wget- nasm- zip- make- pkg-config- clang- gtk3- xdotool- libxcb- libxfixes- alsa-lib- pipewire- python- ttf-arphic-uming- libappindicator-gtk3- pam- gst-plugins-base- gst-plugin-pipewire- scripts: |- cd res && HBB=`pwd`/.. FLUTTER=1 makepkg -f-- - name: Publish archlinux package- uses: softprops/action-gh-release@v1- with:- prerelease: true- tag_name: ${{ env.TAG_NAME }}- files: |- res/rustdesk-${{ env.VERSION }}*.zst-- name: Build appimage packageshell: bashrun: |@@ -1498,6 +1490,15 @@ jobs:pushd appimagesudo appimage-builder --skip-tests --recipe ./AppImageBuilder-${{ matrix.job.arch }}.yml+ - name: Publish appimage package+ if: matrix.job.extra-build-features == 'appimage' && env.UPLOAD_ARTIFACT == 'true'+ uses: softprops/action-gh-release@v1+ with:+ prerelease: true+ tag_name: ${{ env.TAG_NAME }}+ files: |+ ./appimage/rustdesk-${{ env.VERSION }}-*.AppImage+build-flatpak:name: Build flatpak ${{ matrix.job.target }}needs: [build-rustdesk-linux]diff --git a/flatpak/rustdesk.json b/flatpak/rustdesk.jsonindex 949fc71a5..b23c27fbc 100644--- a/flatpak/rustdesk.json+++ b/flatpak/rustdesk.json@@ -12,7 +12,7 @@"name": "pam","buildsystem": "simple","build-commands": [- "./configure --prefix=/app && make -j4 install"+ "./configure --disable-selinux --prefix=/app && make -j4 install"],"sources": [{