feat: appimage nightly ci
This commit is contained in:
parent
85e4e0fe4e
commit
b28e4b0e60
26
.github/workflows/flutter-nightly.yml
vendored
26
.github/workflows/flutter-nightly.yml
vendored
@ -1162,7 +1162,7 @@ jobs:
|
|||||||
- name: Prepare env
|
- name: Prepare env
|
||||||
run: |
|
run: |
|
||||||
sudo apt update -y
|
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/
|
mkdir -p ./target/release/
|
||||||
|
|
||||||
- name: Restore the rustdesk lib file
|
- name: Restore the rustdesk lib file
|
||||||
@ -1217,7 +1217,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
for name in rustdesk*??.deb; do
|
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
|
done
|
||||||
|
|
||||||
- name: Publish debian package
|
- name: Publish debian package
|
||||||
@ -1285,6 +1286,27 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
res/rustdesk*.zst
|
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
|
- name: Publish fedora28/centos8 package
|
||||||
if: ${{ matrix.job.extra-build-features == '' }}
|
if: ${{ matrix.job.extra-build-features == '' }}
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
@ -25,17 +25,14 @@ AppDir:
|
|||||||
- amd64
|
- amd64
|
||||||
allow_unauthenticated: true
|
allow_unauthenticated: true
|
||||||
sources:
|
sources:
|
||||||
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
|
||||||
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
|
||||||
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic universe
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic universe
|
||||||
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-updates universe
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
|
||||||
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic multiverse
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
|
||||||
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-updates multiverse
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
|
||||||
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted
|
||||||
universe multiverse
|
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
|
- sourceline: deb http://ppa.launchpad.net/pipewire-debian/pipewire-upstream/ubuntu
|
||||||
bionic main
|
bionic main
|
||||||
include:
|
include:
|
||||||
|
@ -63,7 +63,7 @@ dependencies:
|
|||||||
desktop_multi_window:
|
desktop_multi_window:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/Kingtous/rustdesk_desktop_multi_window
|
url: https://github.com/Kingtous/rustdesk_desktop_multi_window
|
||||||
ref: e6d30bde98bd0f4ff50a130e5b1068138307bd03
|
ref: 057e6eb1bc7dcbcf9dafd1384274a611e4fe7124
|
||||||
freezed_annotation: ^2.0.3
|
freezed_annotation: ^2.0.3
|
||||||
flutter_custom_cursor: ^0.0.2
|
flutter_custom_cursor: ^0.0.2
|
||||||
window_size:
|
window_size:
|
||||||
|
BIN
res/64x64.png
Normal file
BIN
res/64x64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Loading…
x
Reference in New Issue
Block a user