Skip to content

Commit 716200e

Browse files
Updated flatpak build script (#467)
1 parent 999fa2a commit 716200e

2 files changed

Lines changed: 8 additions & 30 deletions

File tree

.github/workflows/build-flatpak.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,33 @@ jobs:
1414
runs-on: ubuntu-24.04
1515

1616
steps:
17-
- name: Checkout repository
17+
- name: Checkout Repository
1818
uses: actions/checkout@v4
1919
with:
2020
submodules: recursive
2121
token: ${{ secrets.ORG_TOKEN }}
2222

23-
- name: Checkout private repository
23+
- name: Checkout Private Repository
2424
uses: actions/checkout@v4
2525
with:
2626
repository: ${{ secrets.ASSET_REPO }}
2727
token: ${{ secrets.ASSET_REPO_TOKEN }}
28-
path: flatpak/private
28+
path: ./private
2929

30-
- name: Install dependencies
30+
- name: Install Dependencies
3131
run: |-
3232
sudo apt update
3333
sudo apt install -y flatpak-builder ccache
3434
35-
- name: Cache ccache directory
35+
- name: Setup ccache
3636
uses: actions/cache@v4
3737
with:
3838
path: /tmp/ccache
3939
key: ccache-${{ runner.os }}
4040

41+
- name: Prepare Project
42+
run: cp ./private/* ./UnleashedRecompLib/private
43+
4144
- name: Prepare Flatpak
4245
run: |
4346
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

flatpak/io.github.hedge_dev.unleashedrecomp.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,6 @@
3232
{
3333
"type": "dir",
3434
"path": "../"
35-
},
36-
{
37-
"type": "file",
38-
"path": "private/default.xex",
39-
"dest": "UnleashedRecompLib/private"
40-
},
41-
{
42-
"type": "file",
43-
"path": "private/default.xexp",
44-
"dest": "UnleashedRecompLib/private"
45-
},
46-
{
47-
"type": "file",
48-
"path": "private/default_patched.xex",
49-
"dest": "UnleashedRecompLib/private"
50-
},
51-
{
52-
"type": "file",
53-
"path": "private/shader.ar",
54-
"dest": "UnleashedRecompLib/private"
55-
},
56-
{
57-
"type": "file",
58-
"path": "private/shader_decompressed.ar",
59-
"dest": "UnleashedRecompLib/private"
6035
}
6136
],
6237
"build-options": {

0 commit comments

Comments
 (0)