mirror of
https://github.com/localsend/localsend.git
synced 2026-06-23 04:10:07 +00:00
chore: add linux script
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
|
||||
version: 1
|
||||
AppDir:
|
||||
path: AppDir
|
||||
app_info:
|
||||
id: org.localsend.localsend_app
|
||||
name: LocalSend
|
||||
icon: application-vnd.appimage
|
||||
version: latest
|
||||
exec: localsend_app
|
||||
exec_args: $@
|
||||
apt:
|
||||
arch:
|
||||
- amd64
|
||||
allow_unauthenticated: true
|
||||
sources:
|
||||
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ jammy main restricted
|
||||
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
|
||||
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ jammy universe
|
||||
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ jammy-updates universe
|
||||
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ jammy multiverse
|
||||
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
|
||||
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ jammy-backports main restricted
|
||||
universe multiverse
|
||||
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security main restricted
|
||||
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security universe
|
||||
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security multiverse
|
||||
include:
|
||||
- libc6:amd64
|
||||
files:
|
||||
include: []
|
||||
exclude:
|
||||
- usr/share/man
|
||||
- usr/share/doc/*/README.*
|
||||
- usr/share/doc/*/changelog.*
|
||||
- usr/share/doc/*/NEWS.*
|
||||
- usr/share/doc/*/TODO.*
|
||||
test:
|
||||
fedora-30:
|
||||
image: appimagecrafters/tests-env:fedora-30
|
||||
command: ./AppRun
|
||||
debian-stable:
|
||||
image: appimagecrafters/tests-env:debian-stable
|
||||
command: ./AppRun
|
||||
archlinux-latest:
|
||||
image: appimagecrafters/tests-env:archlinux-latest
|
||||
command: ./AppRun
|
||||
centos-7:
|
||||
image: appimagecrafters/tests-env:centos-7
|
||||
command: ./AppRun
|
||||
ubuntu-xenial:
|
||||
image: appimagecrafters/tests-env:ubuntu-xenial
|
||||
command: ./AppRun
|
||||
AppImage:
|
||||
arch: x86_64
|
||||
update-information: guess
|
||||
@@ -0,0 +1,15 @@
|
||||
fvm flutter clean
|
||||
fvm flutter pub get
|
||||
fvm flutter pub run build_runner build -d
|
||||
fvm flutter build linux
|
||||
|
||||
rm -rf AppDir
|
||||
rm -rf appimage-build
|
||||
|
||||
mkdir AppDir
|
||||
cp -r build/linux/x64/release/bundle/* AppDir
|
||||
appimage-builder
|
||||
sudo chmod +x LocalSend-latest-x86_64.AppImage
|
||||
|
||||
rm -rf AppDir
|
||||
rm -rf appimage-build
|
||||
Reference in New Issue
Block a user