Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add manifest file for the amazon app store

Roland Geider3814f33b6ef1
diff --git a/wger/manager/static/images/logos/convert-to-png.sh b/wger/manager/static/images/logos/convert-to-png.sh
index d8a131a65..7ad9e143e 100755
--- a/wger/manager/static/images/logos/convert-to-png.sh
+++ b/wger/manager/static/images/logos/convert-to-png.sh
@@ -22,7 +22,7 @@
# Note: you need to have the OpenSans fonts installed where inkscape can find them
#
-for resolution in 16 30 32 48 60 64 128 256
+for resolution in 16 30 32 48 60 64 114 128 256
do
# Regular Icon
inkscape \
diff --git a/wger/manager/static/images/logos/logo-114.png b/wger/manager/static/images/logos/logo-114.png
new file mode 100644
index 000000000..1c25df752
Binary files /dev/null and b/wger/manager/static/images/logos/logo-114.png differ
diff --git a/wger/manager/static/images/logos/logo-marketplace-114.png b/wger/manager/static/images/logos/logo-marketplace-114.png
new file mode 100644
index 000000000..2db9d2f77
Binary files /dev/null and b/wger/manager/static/images/logos/logo-marketplace-114.png differ
diff --git a/wger/manager/templates/amazon-manifest.webapp b/wger/manager/templates/amazon-manifest.webapp
new file mode 100644
index 000000000..a422d5b7f
--- /dev/null
+++ b/wger/manager/templates/amazon-manifest.webapp
@@ -0,0 +1,5 @@
+{
+ "verification_key" : "06c6c335-dc8b-4936-b54b-b5b1d18bbb1e",
+ "version" : "{{version}}",
+ "type" : "web"
+}
\ No newline at end of file
diff --git a/wger/urls.py b/wger/urls.py
index 12f60016b..ad26ba279 100644
--- a/wger/urls.py
+++ b/wger/urls.py
@@ -84,6 +84,8 @@ urlpatterns = urlpatterns + patterns('',
name='robots'),
url(r'^manifest\.webapp$',
WebappManifestView.as_view(template_name="manifest.webapp"),
+ ),url(r'^amazon-manifest\.webapp$',
+ WebappManifestView.as_view(template_name="amazon-manifest.webapp"),
),
(r'^api/', include(v1_api.urls)),
)