diff --git a/go/packaging/linux-appimage/AppRun b/go/packaging/linux-appimage/AppRun new file mode 100755 index 00000000..ab9b7bd2 --- /dev/null +++ b/go/packaging/linux-appimage/AppRun @@ -0,0 +1,3 @@ +#!/bin/sh +cd "$(dirname "$0")" +exec ./build/flutter_catalog \ No newline at end of file diff --git a/go/packaging/linux-appimage/Dockerfile b/go/packaging/linux-appimage/Dockerfile new file mode 100644 index 00000000..2c419c55 --- /dev/null +++ b/go/packaging/linux-appimage/Dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu:bionic +WORKDIR /opt +RUN apt-get update && \ +apt-get install libglib2.0-0 curl file -y +RUN curl -LO https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage && \ +chmod a+x appimagetool-x86_64.AppImage && \ +./appimagetool-x86_64.AppImage --appimage-extract && \ +mv squashfs-root appimagetool && \ +rm appimagetool-x86_64.AppImage +ENV PATH=/opt/appimagetool/usr/bin:$PATH diff --git a/go/packaging/linux-appimage/flutter_catalog.desktop b/go/packaging/linux-appimage/flutter_catalog.desktop new file mode 100644 index 00000000..fb981f38 --- /dev/null +++ b/go/packaging/linux-appimage/flutter_catalog.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Terminal=false +Categories= +Name=flutter_catalog +Icon=/build/assets/icon +Exec= \ No newline at end of file diff --git a/lib/constants.dart b/lib/constants.dart index af469ece..5b59d2f4 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -1,7 +1,7 @@ import 'package:flutter/material.dart'; // *Note*: when APP_VERSION is changed, remember to also update pubspec.yaml. -const APP_VERSION = 'v2.3.5'; +const APP_VERSION = 'v2.4.0'; const APP_NAME = 'Flutter Catalog'; final kAppIcon = Image.asset('res/images/launcher_icon.png', height: 64.0, width: 64.0); diff --git a/pubspec.yaml b/pubspec.yaml index 03f778b0..fdd17b83 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_catalog description: An app showcasing Flutter components, with side-by-side source code view. # *Note*: when version change, remember to also update constants.dart. -version: 2.3.5+47 +version: 2.4.0+48 environment: sdk: ">=2.3.0 <3.0.0"