Skip to content

Commit b844e87

Browse files
GeocldGeocld
authored andcommitted
update
1 parent 2116695 commit b844e87

5 files changed

+17
-17
lines changed

flatpak/build_bundle_manually.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export PATH=${PATH}:${HOME}/.local/bin
1313
cd ..
1414

1515
flatpak-node-generator yarn ../yarn.lock -o ./yarn-sources.json
16-
flatpak-builder --force-clean build-dir ./dev.Geocld.XStreaming.yml
16+
flatpak-builder --force-clean build-dir ./dev.Geocld.XStreamingDesktop.yml
1717
flatpak build-export export-dir build-dir
18-
flatpak build-bundle export-dir XStreaming.flatpak dev.Geocld.XStreaming --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
18+
flatpak build-bundle export-dir XStreamingDesktop.flatpak dev.Geocld.XStreamingDesktop --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
1919

2020
echo done
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[Desktop Entry]
22
Type=Application
3-
Name=XStreaming
3+
Name=XStreamingDesktop
44
Comment=Xbox streaming client, you can play Xbox games anywhere.
5-
Icon=io.github.Geocld.XStreaming
5+
Icon=io.github.Geocld.XStreamingDesktop
66
Exec=run.sh
77
Terminal=false
8-
StartupWMClass=XStreaming
8+
StartupWMClass=XStreamingDesktop
99
Categories=Network;Game;
1010
Keywords=Game;Streaming;Xbox;xCloud;Console;

flatpak/io.github.Geocld.XStreaming.metainfo.xml renamed to flatpak/io.github.Geocld.XStreamingDesktop.metainfo.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<component type="desktop">
3-
<id>io.github.Geocld.XStreaming</id>
4-
<launchable type="desktop-id">io.github.Geocld.XStreaming.desktop</launchable>
5-
<name>XStreaming</name>
3+
<id>io.github.Geocld.XStreamingDesktop</id>
4+
<launchable type="desktop-id">io.github.Geocld.XStreamingDesktop.desktop</launchable>
5+
<name>XStreamingDesktop</name>
66
<project_license>MIT</project_license>
77
<developer_name>Geocld</developer_name>
88
<summary>XStreaming is an open-source client for xCloud and Xbox home streaming</summary>
File renamed without changes.

flatpak/io.github.Geocld.XStreaming.yml renamed to flatpak/io.github.Geocld.XStreamingDesktop.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ build-options:
2121
env:
2222
NPM_CONFIG_LOGLEVEL: info
2323
modules:
24-
- name: XStreaming
24+
- name: XStreamingDesktop
2525
buildsystem: simple
2626
build-options:
2727
env:
28-
XDG_CACHE_HOME: /run/build/XStreaming/flatpak-node/cache
29-
npm_config_cache: /run/build/XStreaming/flatpak-node/npm-cache
28+
XDG_CACHE_HOME: /run/build/XStreamingDesktop/flatpak-node/cache
29+
npm_config_cache: /run/build/XStreamingDesktop/flatpak-node/npm-cache
3030
npm_config_offline: 'true'
31-
yarn_config_cache: /run/build/XStreaming/flatpak-node/yarn-mirror
31+
yarn_config_cache: /run/build/XStreamingDesktop/flatpak-node/yarn-mirror
3232
build-commands:
3333
- |
3434
if [ "$FLATPAK_ARCH" = "x86_64" ]; then
@@ -42,9 +42,9 @@ modules:
4242
- yarn --offline
4343
- yarn run flatpak-build --offline -- --linux
4444
# Add icon, metadata and desktop file
45-
- install -Dm 644 flatpak/io.github.Geocld.XStreaming.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
46-
- install -Dm 644 flatpak/io.github.Geocld.XStreaming.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
47-
- install -Dm 644 flatpak/io.github.Geocld.XStreaming.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml
45+
- install -Dm 644 flatpak/io.github.Geocld.XStreamingDesktop.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
46+
- install -Dm 644 flatpak/io.github.Geocld.XStreamingDesktop.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
47+
- install -Dm 644 flatpak/io.github.Geocld.XStreamingDesktop.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml
4848
# Bundle app and dependencies
4949
- cp -a dist/linux*unpacked /app/main
5050
# Install app wrapper
@@ -70,7 +70,7 @@ modules:
7070
- type: inline
7171
dest-filename: .yarnrc
7272
contents: |
73-
yarn-offline-mirror "/run/build/XStreaming/flatpak-node/yarn-mirror"
73+
yarn-offline-mirror "/run/build/XStreamingDesktop/flatpak-node/yarn-mirror"
7474
yarn-offline-mirror-pruning true
7575
# Wrapper to launch the app
7676
- type: script
@@ -82,4 +82,4 @@ modules:
8282
- export LD_LIBRARY_PATH=/app/extralib:${LD_LIBRARY_PATH}
8383
- echo runtime LD_LIBRARY_PATH = $LD_LIBRARY_PATH
8484
- echo runtime ARCH = $(uname -m)-$(uname -s | tr '[:upper:]' '[:lower:]')
85-
- zypak-wrapper.sh /app/main/XStreaming "$@"
85+
- zypak-wrapper.sh /app/main/XStreamingDesktop "$@"

0 commit comments

Comments
 (0)