[moserial: 6/11] Suffix the Flatpak as ".Devel"




commit e688da2a986309e7100722b5ae4006def3f42c3f
Author: Jordan Williams <jordan jwillikers com>
Date:   Fri Jul 9 14:20:19 2021 -0500

    Suffix the Flatpak as ".Devel"
    
    This should be the default for developer builds.
    Since this is handled in the Flatpak manifest this is fine.
    The build system should ultimately handle this naming.
    The build system should then take care to use the ".Devel" suffix.
    It should not use this suffix when the Flathub repo attempts to build.
    Of course, that's all to be handled sometime in the future.

 README                        |  2 +-
 org.gnome.moserial.Devel.yaml | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/README b/README
index 584189b..4f133bc 100644
--- a/README
+++ b/README
@@ -51,7 +51,7 @@ flatpak-builder --user --install --force-clean --repo=repo moserial org.gnome.mo
 
 Run the Flatpak.
 ```
-flatpak run org.gnome.moserial
+flatpak run org.gnome.Devel.moserial
 ```
 
 ### Build from Source
diff --git a/org.gnome.moserial.Devel.yaml b/org.gnome.moserial.Devel.yaml
index 7d7227b..f54b91e 100644
--- a/org.gnome.moserial.Devel.yaml
+++ b/org.gnome.moserial.Devel.yaml
@@ -1,4 +1,4 @@
-id: org.gnome.moserial
+id: org.gnome.moserial.Devel
 runtime: org.gnome.Platform
 runtime-version: master
 sdk: org.gnome.Sdk
@@ -23,8 +23,8 @@ modules:
       - type: git
         url: https://gitlab.gnome.org/GNOME/moserial.git
     post-install:
-      - mv /app/share/applications/moserial.desktop /app/share/applications/org.gnome.moserial.desktop
-      - sed -i 's/Icon=/Icon=org.gnome./' /app/share/applications/org.gnome.moserial.desktop
-      - mv /app/share/icons/hicolor/48x48/apps/moserial.png 
/app/share/icons/hicolor/48x48/apps/org.gnome.moserial.png
-      - mv /app/share/metainfo/moserial.appdata.xml /app/share/metainfo/org.gnome.moserial.appdata.xml
-      - sed -i 's/moserial.desktop/org.gnome.moserial.desktop/' 
/app/share/metainfo/org.gnome.moserial.appdata.xml
+      - mv /app/share/applications/moserial.desktop /app/share/applications/org.gnome.moserial.Devel.desktop
+      - sed -i 's/Icon=moserial/Icon=org.gnome.moserial.Devel/' 
/app/share/applications/org.gnome.moserial.Devel.desktop
+      - mv /app/share/icons/hicolor/48x48/apps/moserial.png 
/app/share/icons/hicolor/48x48/apps/org.gnome.moserial.Devel.png
+      - mv /app/share/metainfo/moserial.appdata.xml /app/share/metainfo/org.gnome.moserial.Devel.appdata.xml
+      - sed -i 's/moserial.desktop/org.gnome.moserial.Devel.desktop/' 
/app/share/metainfo/org.gnome.moserial.Devel.appdata.xml


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]