diff --git a/.github/workflows/flutter-nightly.yml b/.github/workflows/flutter-nightly.yml index 7ce940b89..1be4bb001 100644 --- a/.github/workflows/flutter-nightly.yml +++ b/.github/workflows/flutter-nightly.yml @@ -1162,7 +1162,7 @@ jobs: - name: Prepare env run: | sudo apt update -y - sudo apt-get -qq install -y git curl wget nasm yasm libgtk-3-dev + sudo apt-get -qq install -y git curl wget nasm yasm libgtk-3-dev libarchive-tools mkdir -p ./target/release/ - name: Restore the rustdesk lib file @@ -1217,7 +1217,8 @@ jobs: shell: bash run: | for name in rustdesk*??.deb; do - mv "$name" "${name%%.deb}-${{ matrix.job.target }}-${{ matrix.job.os }}.deb" + # use cp to duplicate deb files to fit other packages. + cp "$name" "${name%%.deb}-${{ matrix.job.target }}-${{ matrix.job.os }}.deb" done - name: Publish debian package @@ -1285,6 +1286,27 @@ jobs: files: | res/rustdesk*.zst + - name: Build appimage package + if: ${{ matrix.job.extra-build-features == '' }} + shell: bash + run: | + # set-up appimage-builder + wget -O appimage-builder-x86_64.AppImage https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage + chmod +x appimage-builder-x86_64.AppImage + sudo mv appimage-builder-x86_64.AppImage /usr/local/bin/appimage-builder + # run appimage-builder + pushd appimage + appimage-builder --skip-tests + + - name: Publish appimage package + if: ${{ matrix.job.extra-build-features == '' }} + uses: softprops/action-gh-release@v1 + with: + prerelease: true + tag_name: ${{ env.TAG_NAME }} + files: | + ./appimage/rustdesk-${{ env.VERSION }}-*.AppImage + - name: Publish fedora28/centos8 package if: ${{ matrix.job.extra-build-features == '' }} uses: softprops/action-gh-release@v1 diff --git a/appimage/AppImageBuilder.yml b/appimage/AppImageBuilder.yml index e5e424d0b..ae95fd2ce 100644 --- a/appimage/AppImageBuilder.yml +++ b/appimage/AppImageBuilder.yml @@ -25,17 +25,14 @@ AppDir: - amd64 allow_unauthenticated: true sources: - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic universe - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-updates universe - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic multiverse - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-updates multiverse - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted + - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic main restricted + - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted + - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic universe + - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe + - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic multiverse + - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse + - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-security universe - - sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-security multiverse - sourceline: deb http://ppa.launchpad.net/pipewire-debian/pipewire-upstream/ubuntu bionic main include: diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 4826f6198..705f4650c 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -63,7 +63,7 @@ dependencies: desktop_multi_window: git: url: https://github.com/Kingtous/rustdesk_desktop_multi_window - ref: e6d30bde98bd0f4ff50a130e5b1068138307bd03 + ref: 057e6eb1bc7dcbcf9dafd1384274a611e4fe7124 freezed_annotation: ^2.0.3 flutter_custom_cursor: ^0.0.2 window_size: diff --git a/res/64x64.png b/res/64x64.png new file mode 100644 index 000000000..d93638e6e Binary files /dev/null and b/res/64x64.png differ