ci for linux x86_64 sciter deb and flatpak (#8545)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-07-01 11:01:35 +08:00 committed by GitHub
parent e71d86c124
commit 285e974d1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 45 additions and 17 deletions

View file

@ -25,8 +25,8 @@ flutter_build_dir_2 = f'flutter/{flutter_build_dir}'
skip_cargo = False
def get_arch() -> str:
custom_arch = os.environ.get("ARCH")
def get_deb_arch() -> str:
custom_arch = os.environ.get("DEB_ARCH")
if custom_arch is None:
return "amd64"
return custom_arch
@ -294,7 +294,7 @@ Homepage: https://rustdesk.com
Depends: libgtk-3-0, libxcb-randr0, libxdo3, libxfixes3, libxcb-shape0, libxcb-xfixes0, libasound2, libsystemd0, curl, libva-drm2, libva-x11-2, libvdpau1, libgstreamer-plugins-base1.0-0, libpam0g, libappindicator3-1, gstreamer1.0-pipewire
Description: A remote control software.
""" % (version, get_arch())
""" % (version, get_deb_arch())
file = open(control_file_path, "w")
file.write(content)
file.close()