Skip to content

Commit 8460d2f

Browse files
authored
Merge pull request #367 from 12people/master
Linux/macOS support
2 parents e377db7 + bf7e2e8 commit 8460d2f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2377
-157
lines changed

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Adam Bujdoš - <https://github.com/bujdy>
1919
- Aman Negi - <https://github.com/AmanNegi>
2020
- Sandi Milohanic - <https://github.com/sandimilohanic>
21+
- Miroslav Mazel - <https://gitlab.com/12people>
2122

2223
## Translators
2324

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ Create a new file ``wger.properties`` in ``fastlane/metadata/envfiles/``:
4848
WGER_API_KEY=123456
4949
```
5050

51+
On Linux and macOS, add these as environment variables, e.g. by running the `source`
52+
command on the file.
53+
5154
To just run/develop the app it only needs to have any value for WGER_API_KEY, but
5255
you need a correct value if you want to register via the app. For this, you need
5356
to allow (a probably dedicated) user on the wger server to register users on its

flatpak/README

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
To generate a release:
2+
3+
1. Build the Linux release using Flutter.
4+
2. Add the new release version and date to the start of the "releases" list in the "spec.json" file (and adjust other parameters in the file if needed).
5+
3. Run "dart flatpak_generator.dart spec.json" in this folder.
6+
4. Upload the generated tar.gz file as a Github release, using the app's version name for the tag (e.g. "1.0.0").
7+
5. Test the Flatpak using the guide at https://docs.flatpak.org/en/latest/first-build.html, using the generated json manifest as your Flatpak manifest.
8+
6. Update your Flathub manifest file in your Flathub Github repo. (If the "flathub.json" file is not there yet, upload that too.)
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="desktop-application">
3+
<id>de.wger.flutter</id>
4+
<name>wger</name>
5+
<summary>Fitness/workout, nutrition and weight tracker</summary>
6+
7+
<metadata_license>CC0-1.0</metadata_license>
8+
<project_license>AGPL-3.0-or-later</project_license>
9+
<recommends>
10+
<control>touch</control>
11+
<control>pointing</control>
12+
<control>keyboard</control>
13+
</recommends>
14+
<developer_name>wger</developer_name>
15+
<url type="homepage">https://wger.de/</url>
16+
<url type="bugtracker">https://github.com/wger-project/flutter/issues</url>
17+
18+
<custom>
19+
<value key="Purism::form_factor">workstation</value>
20+
<value key="Purism::form_factor">mobile</value>
21+
</custom>
22+
23+
<description>
24+
<p>From fitness lovers to fitness lovers – get your health organized with WGER, your Workout Manager!</p>
25+
<p>Have you already found your #1 fitness app and do you love to create your own sports routines? No matter what type of sporty beast you are – we all have something in common: We love to keep track of our health data &lt;3</p>
26+
<p>So we don’t judge you for still managing your fitness journey with your handy little workout log book but welcome to 2021!</p>
27+
<p>We have developed a 100% free digital health and fitness tracker app for you, sized down to the most relevant features to make your life easier. Get started, keep training and celebrate your progress!</p>
28+
<p>wger is an Open Source project and all about:</p>
29+
<ul>
30+
<li><strong>Your body:</strong> No need to google for the ingredients of your favourite treats – choose your daily meals from more than 78000 products and see the nutritional values. Add meals to the nutritional plan and keep an overview of your diet in the calendar.</li>
31+
<li><strong>Your workouts:</strong> You know what is best for your body. Create your own workouts out of a growing variety from 200 different exercises. Then, use the Gym Mode to guide you through the training while you log your weights with one tap.</li>
32+
<li><strong>Your progress:</strong> Never lose sight of your goals. Track your weight and keep your statistics.</li>
33+
<li><strong>Your data:</strong> wger is your personalized fitness diary – but you own your data. Use the REST API to access and do amazing things with it.</li>
34+
</ul>
35+
<p>Please note: This free app is not based on additional fundings and we don’t ask you to donate money. More than that it is a community project which is growing constantly. So be prepared for new features anytime!</p>
36+
<p><strong>OpenSource – what does that mean?</strong> Open Source means that the whole source code for this app and the server it talks to is free and available to anybody:</p>
37+
<ul>
38+
<li>Do you want to run wger on your own server for you or your local gym? Go ahead!</li>
39+
<li>Do you miss a feature and want to implement it? Start now!</li>
40+
<li>Do you want to check that nothing is being sent anywhere? You can!</li>
41+
</ul>
42+
<p>Join our community and become a part of sport enthusiasts and IT geeks from all over the world. We keep working on adjusting and optimizing the app customized to our needs. We love your input so feel free to jump in anytime and contribute your wishes and ideas!</p>
43+
<ul>
44+
<li>find the source code on <a href="https://github.com/wger-project">https://github.com/wger-project</a></li>
45+
<li>ask your questions or just say hello on our discord Server <a href="https://discord.gg/rPWFv6W">https://discord.gg/rPWFv6W</a></li>
46+
</ul>
47+
</description>
48+
49+
<screenshots>
50+
<screenshot type="default">
51+
<caption>wger's dashboard</caption>
52+
<image type="source">https://github.com/wger-project/flutter/raw/master/fastlane/metadata/android/en-US/images/phoneScreenshots/01%20-%20dashboard.png</image>
53+
</screenshot>
54+
</screenshots>
55+
56+
<releases>
57+
<release version="1.5.3" date="2023-03-16" />
58+
</releases>
59+
60+
<content_rating type="oars-1.1" />
61+
62+
<launchable type="desktop-id">de.wger.flutter.desktop</launchable>
63+
</component>

flatpak/de.wger.flutter.desktop

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Desktop Entry]
2+
Version=1.0
3+
Type=Application
4+
Name=wger
5+
Comment=Fitness/workout, nutrition and weight tracker
6+
Categories=Education;Utility;Sports;
7+
Icon=de.wger.flutter
8+
Exec=wger
9+
StartupWMClass=wger
10+
X-Purism-FormFactor=Workstation;Mobile;
11+
X-KDE-FormFactors=desktop;tablet;handset;mediacenter;

0 commit comments

Comments
 (0)