ソースを参照

Add tasmotizer app

Valentin Niess 5 年 前
コミット
2c813fed06

+ 5 - 0
.github/workflows/applications.yml

@@ -24,6 +24,11 @@ jobs:
         python -m python_appimage build app applications/scipy
         test -e scipy-x86_64.AppImage
 
+    - name: Test tasmotizer
+      run: |
+        python -m python_appimage build app applications/tasmotizer
+        test -e tasmotizer-x86_64.AppImage
+
     - name: Test xonsh
       run: |
         python -m python_appimage build app applications/xonsh

+ 1 - 0
applications/tasmotizer/entrypoint.sh

@@ -0,0 +1 @@
+{{ python-executable }} ${APPDIR}/opt/python{{ python-version }}/bin/tasmotizer.py "$@"

+ 1 - 0
applications/tasmotizer/requirements.txt

@@ -0,0 +1 @@
+tasmotizer

+ 18 - 0
applications/tasmotizer/tasmotizer.appdata.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+    <id>tasmotizer</id>
+    <metadata_license>Python-2.0</metadata_license>
+    <project_license>Python-2.0</project_license>
+    <name>Tasmotizer</name>
+    <summary>ESP... The time has come to... Tasmotize</summary>
+    <description>
+        <p>  Python {{ python-fullversion }}  with PyQt5 and tasmotizer.py
+             bundled in an AppImage.
+        </p>
+    </description>
+    <launchable type="desktop-id">tasmotizer.desktop</launchable>
+    <url type="homepage">https://github.com/tasmota/tasmotizer</url>
+    <provides>
+        <binary>python{{ python-version }}</binary>
+    </provides>
+</component>

+ 8 - 0
applications/tasmotizer/tasmotizer.desktop

@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=tasmotizer
+Exec=tasmotizer
+Comment= ESP... The time has come to... Tasmotize
+Icon=python
+Categories=System;
+Terminal=true