Merge pull request #86 from krawieck/release-setup
Add and generate app icons
|
@ -0,0 +1,3 @@
|
|||
patreon: lemmur
|
||||
custom:
|
||||
- https://www.buymeacoffee.com/lemmur
|
12
README.md
|
@ -1,9 +1,17 @@
|
|||
# lemmur
|
||||
<div align="center">
|
||||
|
||||
[![](https://github.com/krawieck/lemmur/workflows/ci/badge.svg)](https://github.com/krawieck/lemmur/actions)
|
||||
[![style: effective dart](https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://pub.dev/packages/effective_dart)
|
||||
|
||||
A lemmy mobile client
|
||||
<img width=200px height=200px src="https://raw.githubusercontent.com/krawieck/lemmur/master/assets/readme_icon.svg"/>
|
||||
|
||||
# lemmur
|
||||
|
||||
A mobile client for [lemmy](https://github.com/LemmyNet/lemmy) - a federated reddit alternative
|
||||
|
||||
<a href="https://www.buymeacoffee.com/lemmur" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
|
||||
|
||||
</div>
|
||||
|
||||
- [lemmur](#lemmur)
|
||||
- [Build from source](#build-from-source)
|
||||
|
|
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 48 KiB |
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 11 KiB |
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#ffffff</color>
|
||||
</resources>
|
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 71 KiB |
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
viewBox="0 0 756 756"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
.outline { fill: #1A1A1A }
|
||||
.fill { fill: #eeeeee }
|
||||
.background { fill: #ffffff }
|
||||
</style>
|
||||
</defs>
|
||||
<g id="Layer_x0020_1">
|
||||
<rect class="background" x="3" y="1" width="750" height="750"/>
|
||||
<path class="outline" d="M520 198c17,-15 42,-31 68,-44 32,-15 65,-26 90,-27l8 0 2 8c16,52 22,100 16,143 -6,44 -23,83 -55,118l-2 2 -1 1 40 -1c6,0 11,5 11,11 0,6 -5,11 -11,11l-54 1c0,2 0,4 0,6 0,5 0,10 -1,16l56 10c6,1 10,7 9,13 -1,6 -7,10 -13,9l-56 -10c-2,6 -4,12 -7,18l50 23c5,3 8,9 5,15 -3,5 -9,8 -15,5l-51 -23c-15,24 -35,47 -58,68 -34,30 -74,56 -110,71 -18,11 -39,17 -65,17l0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0c-27,0 -48,-7 -66,-19 -29,-14 -61,-34 -91,-57 -30,-24 -57,-53 -75,-83l-57 26c-5,3 -12,0 -15,-5 -3,-5 0,-12 5,-15l56 -26c-3,-6 -5,-11 -7,-17l-63 12c-6,1 -12,-3 -13,-9 -1,-6 3,-12 9,-13l61 -11c-1,-6 -1,-12 -1,-18 0,-1 0,-1 0,-3l-59 -1c-6,0 -11,-5 -11,-11 0,-6 5,-11 11,-11l48 1c-1,0 -1,-1 -2,-1l-1 -1c-32,-34 -49,-74 -55,-118 -6,-43 0,-91 16,-143l2 -8 8 0c24,1 57,11 87,26 26,13 52,28 69,43 34,-17 79,-27 138,-27 1,0 3,0 5,0 48,0 100,7 144,28z"/>
|
||||
<g id="_413997968">
|
||||
<path class="fill" d="M456 411c22,-27 55,-37 82,-20.2 31,21 50,79 19,122 -34,46 -169,-17 -100,-103zm-157 0c-22,-27 -55,-37 -82,-19 -31,21 -50,79 -19,120.7 34,46 169,-17 100,-103zm-82 64c2,19 20,35 41,32 20,-3 35,-19 32,-41 -5,-46 -78,-41 -73,9zm317 2c7,-49 -63,-58 -72,-13 -4,22 12,40 30,43 21,3 39,-11 42,-30zm-197 60c5,-13 21,-72 41,-72 20,0 37,61 42,74 30,17 49,45 46,69 25,-14 50,-32 73,-52 41,-37 73,-82 74,-126 0,-52 -6,-112 -39,-157 -32,-45 -91,-78 -195,-78 -104,0 -162,32 -194,76 -32,44 -39,102 -41,153 0,0 0,2 0,3 0,48 41,100 91,140 18,15 37,28 56,39 -3,-24 17,-52 47,-69z"/>
|
||||
<path class="fill" d="M635 376c3,-30 -16,-94 -34,-117 13,-78 37,-89 75,-115 24,82 30,173 -42,232zm-513 0c-3,-30 16,-94 34,-117 -13,-78 -37,-89 -75,-115 -24,82 -30,173 42,232z"/>
|
||||
<circle class="outline" cx="253" cy="473" r="15"/>
|
||||
<circle class="outline" cx="497" cy="473" r="15"/>
|
||||
</g>
|
||||
<path class="fill" d="M418 550c-24,14 -55,14 -79,0 3,29 18,14 40,43 18,-26 37,-13 39,-43z"/>
|
||||
<path class="fill" d="M378 614c-7,9 -23,27 -49,15 6,-1 31,-2 49,-29 18,27 43,28 49,29 -26,13 -42,-6 -49,-15z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.6 KiB |
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
viewBox="0 0 756 756"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
.outline { fill: #1A1A1A; }
|
||||
.border {
|
||||
stroke: white;
|
||||
stroke-width: 5px;
|
||||
}
|
||||
.fill { fill: #eeeeee }
|
||||
.background { fill: #ffffff00 }
|
||||
</style>
|
||||
</defs>
|
||||
<g id="Layer_x0020_1">
|
||||
<rect class="background" x="3" y="1" width="750" height="750"/>
|
||||
<path class="outline border" d="M520 198c17,-15 42,-31 68,-44 32,-15 65,-26 90,-27l8 0 2 8c16,52 22,100 16,143 -6,44 -23,83 -55,118l-2 2 -1 1 40 -1c6,0 11,5 11,11 0,6 -5,11 -11,11l-54 1c0,2 0,4 0,6 0,5 0,10 -1,16l56 10c6,1 10,7 9,13 -1,6 -7,10 -13,9l-56 -10c-2,6 -4,12 -7,18l50 23c5,3 8,9 5,15 -3,5 -9,8 -15,5l-51 -23c-15,24 -35,47 -58,68 -34,30 -74,56 -110,71 -18,11 -39,17 -65,17l0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0c-27,0 -48,-7 -66,-19 -29,-14 -61,-34 -91,-57 -30,-24 -57,-53 -75,-83l-57 26c-5,3 -12,0 -15,-5 -3,-5 0,-12 5,-15l56 -26c-3,-6 -5,-11 -7,-17l-63 12c-6,1 -12,-3 -13,-9 -1,-6 3,-12 9,-13l61 -11c-1,-6 -1,-12 -1,-18 0,-1 0,-1 0,-3l-59 -1c-6,0 -11,-5 -11,-11 0,-6 5,-11 11,-11l48 1c-1,0 -1,-1 -2,-1l-1 -1c-32,-34 -49,-74 -55,-118 -6,-43 0,-91 16,-143l2 -8 8 0c24,1 57,11 87,26 26,13 52,28 69,43 34,-17 79,-27 138,-27 1,0 3,0 5,0 48,0 100,7 144,28z"/>
|
||||
<g id="_413997968">
|
||||
<path class="fill" d="M456 411c22,-27 55,-37 82,-20.2 31,21 50,79 19,122 -34,46 -169,-17 -100,-103zm-157 0c-22,-27 -55,-37 -82,-19 -31,21 -50,79 -19,120.7 34,46 169,-17 100,-103zm-82 64c2,19 20,35 41,32 20,-3 35,-19 32,-41 -5,-46 -78,-41 -73,9zm317 2c7,-49 -63,-58 -72,-13 -4,22 12,40 30,43 21,3 39,-11 42,-30zm-197 60c5,-13 21,-72 41,-72 20,0 37,61 42,74 30,17 49,45 46,69 25,-14 50,-32 73,-52 41,-37 73,-82 74,-126 0,-52 -6,-112 -39,-157 -32,-45 -91,-78 -195,-78 -104,0 -162,32 -194,76 -32,44 -39,102 -41,153 0,0 0,2 0,3 0,48 41,100 91,140 18,15 37,28 56,39 -3,-24 17,-52 47,-69z"/>
|
||||
<path class="fill" d="M635 376c3,-30 -16,-94 -34,-117 13,-78 37,-89 75,-115 24,82 30,173 -42,232zm-513 0c-3,-30 16,-94 34,-117 -13,-78 -37,-89 -75,-115 -24,82 -30,173 42,232z"/>
|
||||
<circle class="outline" cx="253" cy="473" r="15"/>
|
||||
<circle class="outline" cx="497" cy="473" r="15"/>
|
||||
</g>
|
||||
<path class="fill" d="M418 550c-24,14 -55,14 -79,0 3,29 18,14 40,43 18,-26 37,-13 39,-43z"/>
|
||||
<path class="fill" d="M378 614c-7,9 -23,27 -49,15 6,-1 31,-2 49,-29 18,27 43,28 49,29 -26,13 -42,-6 -49,-15z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.6 KiB |
|
@ -580,4 +580,4 @@
|
|||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 97C146E61CF9000F007C117D /* Project object */;
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 564 B After Width: | Height: | Size: 695 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 9.0 KiB |
|
@ -46,9 +46,37 @@ class AboutTile extends HookWidget {
|
|||
FlatButton.icon(
|
||||
icon: Icon(Icons.monetization_on),
|
||||
label: Text('support development'),
|
||||
onPressed: () {}, // TODO: link to some donation site
|
||||
onPressed: () {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (_) => Dialog(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
FlatButton(
|
||||
child: Text('Patreon'),
|
||||
onPressed: () =>
|
||||
openInBrowser('https://patreon.com/lemmur'),
|
||||
),
|
||||
FlatButton(
|
||||
child: Text('Buy Me a Coffee'),
|
||||
onPressed: () =>
|
||||
openInBrowser('https://buymeacoff.ee/lemmur'),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}, // TODO: link to some donation site
|
||||
),
|
||||
],
|
||||
applicationIcon: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
child: Image.asset(
|
||||
'assets/app_icon.png',
|
||||
width: 54,
|
||||
),
|
||||
),
|
||||
applicationVersion: packageInfo.version,
|
||||
);
|
||||
}
|
||||
|
|
55
pubspec.lock
|
@ -1,6 +1,13 @@
|
|||
# Generated by pub
|
||||
# See https://dart.dev/tools/pub/glossary#lockfile
|
||||
packages:
|
||||
archive:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: archive
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.13"
|
||||
args:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -139,6 +146,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.13.2"
|
||||
flutter_launcher_icons:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: flutter_launcher_icons
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.8.1"
|
||||
flutter_markdown:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -198,6 +212,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.1.4"
|
||||
image:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: image
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.19"
|
||||
image_picker:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -219,13 +240,6 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.16.1"
|
||||
js:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: js
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.6.3-nullsafety.1"
|
||||
json_annotation:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -267,7 +281,7 @@ packages:
|
|||
name: meta
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.0-nullsafety.4"
|
||||
version: "1.3.0-nullsafety.3"
|
||||
nested:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -338,6 +352,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.9.2"
|
||||
petitparser:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: petitparser
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.1.0"
|
||||
photo_view:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -454,7 +475,7 @@ packages:
|
|||
name: stack_trace
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.10.0-nullsafety.4"
|
||||
version: "1.10.0-nullsafety.1"
|
||||
stream_channel:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -574,6 +595,20 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.2"
|
||||
xml:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: xml
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.5.1"
|
||||
yaml:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: yaml
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.2.1"
|
||||
sdks:
|
||||
dart: ">=2.10.2 <=2.11.0-242.0.dev"
|
||||
dart: ">=2.10.2 <2.11.0"
|
||||
flutter: ">=1.22.2 <2.0.0"
|
||||
|
|
10
pubspec.yaml
|
@ -56,6 +56,15 @@ dev_dependencies:
|
|||
flutter_test:
|
||||
sdk: flutter
|
||||
effective_dart: ^1.0.0
|
||||
flutter_launcher_icons: ^0.8.1
|
||||
|
||||
flutter_icons:
|
||||
android: true
|
||||
ios: true
|
||||
image_path: assets/app_icon.png
|
||||
adaptive_icon_background: "#ffffff"
|
||||
adaptive_icon_foreground: assets/adaptive_icon_fg.png
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
# The following section is specific to Flutter.
|
||||
|
@ -67,6 +76,7 @@ flutter:
|
|||
# To add assets to your application, add an assets section, like this:
|
||||
assets:
|
||||
- CHANGELOG.md
|
||||
- assets/app_icon.png
|
||||
# An image asset can refer to one or more resolution-specific "variants", see
|
||||
# https://flutter.dev/assets-and-images/#resolution-aware.
|
||||
# For details regarding adding assets from package dependencies, see
|
||||
|
|