Skip to content

Commit

Permalink
Move submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Jul 22, 2024
1 parent 4f148b4 commit c084070
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flatpak-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Flatpak Build

on:
push:
branches:
branches:
- master
# TODO: remove
- flatpak
Expand Down
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "shared-modules"]
path = shared-modules
[submodule "distribution/shared-modules"]
path = distribution/shared-modules
url = https://github.com/flathub/shared-modules
14 changes: 7 additions & 7 deletions distribution/dev.overlayed.Overlayed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ runtime: org.gnome.Platform
runtime-version: "46"
sdk: org.gnome.Sdk

rename-icon: overlayed
rename-icon: Overlayed
command: overlayed
finish-args:
- --socket=wayland
Expand All @@ -15,7 +15,7 @@ finish-args:
- --talk-name=org.freedesktop.Notifications

modules:
# - shared-modules/libappindicator/libappindicator-gtk3-12.10.json
- shared-modules/libappindicator/libappindicator-gtk3-12.10.json

- name: webkit2gtk-4.0
sources:
Expand Down Expand Up @@ -73,20 +73,20 @@ modules:

- |
desktop-file-edit \
--set-name="Overlayed App" \
--set-comment="Overlayed's game launcher" \
--set-name="Overlayed" \
--set-comment="Overlayed's desktop application" \
--set-icon="$FLATPAK_ID" \
--set-key="StartupNotify" --set-value="true" \
--set-key="Categories" --set-value="Game;ActionGame;AdventureGame;Simulation;" \
--set-key="Keywords" --set-value="game;minecraft;mc;" \
--set-key="Categories" --set-value="Game;" \
--set-key="Keywords" --set-value="discord;overlay;" \
--set-key="StartupWMClass" --set-value="Overlayed" \
squashfs-root/usr/share/applications/overlayed.desktop
- mkdir -p /app/{bin,share}
- cp -r squashfs-root/usr/share/icons /app/share/icons
- install -Dm755 squashfs-root/usr/bin/overlayed /app/bin/overlayed
- install -Dm644 squashfs-root/usr/share/applications/overlayed.desktop /app/share/applications/dev.overlayed.Overlayed.desktop
- install -Dm644 dev.overlayed.Overlayed.metainfo.xml /app/share/metainfo/dev.overlayed.OverlayedApp.metainfo.xml
- install -Dm644 dev.overlayed.Overlayed.metainfo.xml /app/share/metainfo/dev.overlayed.Overlayed.metainfo.xml

sources:
- type: file
Expand Down

0 comments on commit c084070

Please sign in to comment.