Added flatpak packaging stuffs
This commit is contained in:
Executable
+28
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
# Build the Flutter app and package into an archive.
|
||||
|
||||
|
||||
# Exit if any command fails
|
||||
set -e
|
||||
|
||||
# Echo all commands for debug purposes
|
||||
set -x
|
||||
|
||||
|
||||
projectName=rluvApp
|
||||
|
||||
archiveName=$projectName-Linux-Portable.tar.gz
|
||||
baseDir=$(pwd)
|
||||
|
||||
|
||||
# ----------------------------- Build Flutter app ---------------------------- #
|
||||
|
||||
|
||||
flutter pub get
|
||||
flutter build linux
|
||||
|
||||
cd build/linux/arm64/release/bundle || exit
|
||||
tar -czaf $archiveName ./*
|
||||
mv $archiveName "$baseDir"/
|
||||
Reference in New Issue
Block a user