Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d5667d253 | ||
|
|
4c3c087e98 | ||
|
|
c8f314dcc7 |
No files matched your search
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 7.6 KiB |
@@ -60,23 +60,28 @@ set -x
|
|||||||
flutter build linux ${BUILD_OPTIONS[@]}
|
flutter build linux ${BUILD_OPTIONS[@]}
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
log "Saving Linux Bundle..."
|
|
||||||
|
|
||||||
log "- zip"
|
log "- zip"
|
||||||
filename=$RELEASE.linux-bundle.zip
|
filename=$RELEASE.linux-bundle.zip
|
||||||
|
contents="build/linux/x64/release/bundle/"
|
||||||
if [[ -e $filename ]]; then
|
if [[ -e $filename ]]; then
|
||||||
rm -v $filename
|
rm -v $filename
|
||||||
fi
|
fi
|
||||||
zip -r $filename build/linux/x64/release/bundle/*
|
set -x
|
||||||
|
zip -qr "$filename" "$contents"/*
|
||||||
|
set +x
|
||||||
ls -sh $filename
|
ls -sh $filename
|
||||||
|
|
||||||
#log "- tar"
|
log "- tar"
|
||||||
#filename=$RELEASE.linux-bundle.tar
|
filename=$RELEASE.tar
|
||||||
#if [[ -e "$filename"* ]]; then
|
if [[ -e "$filename"* ]]; then
|
||||||
# rm -v $filename*
|
rm -v "$filename"*
|
||||||
#fi
|
fi
|
||||||
#zip -r $filename build/linux/x64/release/bundle/*
|
set -x
|
||||||
#ls -sh $filename
|
tar -c --zstd -f "${filename}.zst" -C "$contents" .
|
||||||
|
tar -cz -f "${filename}.gz" -C "$contents" .
|
||||||
|
tar -cJ -f "${filename}.xz" -C "$contents" .
|
||||||
|
set +x
|
||||||
|
ls -sh "$filename"* | sort -h
|
||||||
|
|
||||||
# Android
|
# Android
|
||||||
|
|
||||||
@@ -109,9 +114,8 @@ for apk in `ls build/app/outputs/flutter-apk/app*release.apk`; do
|
|||||||
filename=`basename $apk`
|
filename=`basename $apk`
|
||||||
filename=${filename//app/${RELEASE}}
|
filename=${filename//app/${RELEASE}}
|
||||||
cp -v "$apk" "$filename"
|
cp -v "$apk" "$filename"
|
||||||
ls -sh "$filename"
|
|
||||||
echo " "
|
|
||||||
done
|
done
|
||||||
|
ls -sh release/*.apk | sort -h
|
||||||
|
|
||||||
# Finish
|
# Finish
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.6 KiB |