Skip to content

Commit 1db6f08

Browse files
committed
Merge branch 'main' of https://github.com/Stremio/stremio-linux-shell into feat/tray-icon
2 parents 1d6631f + 63a866e commit 1db6f08

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
python3 -m pip install toml aiohttp
3838
3939
- name: Build flatpak package
40-
run: ./build-aux/flatpak/build.sh
40+
run: ./flatpak/build.sh
4141
- name: Upload flatpak package to release
4242
uses: softprops/action-gh-release@v2
4343
with:
44-
files: ./build-aux/flatpak/*.flatpak
44+
files: ./flatpak/*.flatpak

.gitmodules

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[submodule "build-aux/flatpak/flatpak-builder-tools"]
2-
path = build-aux/flatpak/flatpak-builder-tools
1+
[submodule "flatpak/flatpak-builder-tools"]
2+
path = flatpak/flatpak-builder-tools
33
url = https://github.com/flatpak/flatpak-builder-tools
4-
[submodule "build-aux/flatpak/shared-modules"]
5-
path = build-aux/flatpak/shared-modules
4+
[submodule "flatpak/shared-modules"]
5+
path = flatpak/shared-modules
66
url = https://github.com/flathub/shared-modules

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ python3 -m pip install toml aiohttp
4040
```
4141

4242
```bash
43-
./build-aux/flatpak/build.sh
43+
./flatpak/build.sh
4444
```
4545

4646
### How it works

com.stremio.App.Devel.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"--share=ipc",
2727
"--share=network",
2828
"--device=dri",
29+
"--filesystem=home/.stremio-server:create",
2930
"--filesystem=xdg-data/stremio:create",
3031
"--filesystem=xdg-run/stremio:create",
3132
"--env=LD_LIBRARY_PATH=/app/lib/:/app/lib64/:/app/share/stremio",
@@ -70,7 +71,7 @@
7071
"type": "dir",
7172
"path": "."
7273
},
73-
"build-aux/flatpak/cargo-sources.json"
74+
"flatpak/cargo-sources.json"
7475
],
7576
"modules": [
7677
{
@@ -167,6 +168,6 @@
167168
}
168169
]
169170
},
170-
"build-aux/flatpak/shared-modules/libappindicator/libappindicator-gtk3-12.10.json"
171+
"flatpak/shared-modules/libappindicator/libappindicator-gtk3-12.10.json"
171172
]
172173
}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#!/bin/sh
22

33
package_id="com.stremio.App.Devel"
4-
cwd="build-aux/flatpak"
4+
cwd="flatpak"
55

66
python3 $cwd/flatpak-builder-tools/cargo/flatpak-cargo-generator.py Cargo.lock -o $cwd/cargo-sources.json
77

8-
flatpak-builder --force-clean $cwd/build $package_id.json
9-
flatpak build-export $cwd/repo $cwd/build
8+
flatpak-builder --repo=$cwd/repo --force-clean $cwd/build $package_id.json
109
flatpak build-bundle $cwd/repo $cwd/$package_id.flatpak $package_id

0 commit comments

Comments
 (0)