Skip to content

Commit da97b67

Browse files
committed
xenia edge switch [skip ci]
1 parent 4d9a568 commit da97b67

File tree

7 files changed

+149
-85
lines changed

7 files changed

+149
-85
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash
22

3-
xenia_config="$XDG_CONFIG_HOME/xenia/xenia-canary.config.toml"
3+
xenia_config="$XDG_CONFIG_HOME/xenia/xenia-edge.config.toml"
4+
xenia_config_qt="$XDG_CONFIG_HOME/xenia/qt.conf"

archive_later/xenia/component_launcher.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

7-
export LD_LIBRARY_PATH="$component_path/lib:$ffmpeg_path/25.08:$rd_shared_libs:$rd_shared_libs/org.kde.Platform/6.10/:$rd_shared_libs/org.gnome.Platform/49/:$rd_shared_libs/org.freedesktop.Platform/25.08/:${DEFAULT_LD_LIBRARY_PATH}"
8-
export QT_PLUGIN_PATH="$rd_shared_libs/org.kde.Platform/6.10/plugins/:${QT_PLUGIN_PATH}"
9-
export QT_QPA_PLATFORM_PLUGIN_PATH="$rd_shared_libs/org.kde.Platform/6.10/plugins/platforms/:${QT_QPA_PLATFORM_PLUGIN_PATH}"
7+
export LD_LIBRARY_PATH="$component_path/lib:$ffmpeg_path/25.08:$rd_shared_libs:${DEFAULT_LD_LIBRARY_PATH}"
8+
export QT_PLUGIN_PATH="${QT_PLUGIN_PATH}"
9+
export QT_QPA_PLATFORM_PLUGIN_PATH="${QT_QPA_PLATFORM_PLUGIN_PATH}"
1010

1111
log i "RetroDECK is now launching $component_name"
1212
log d "Library path is: $LD_LIBRARY_PATH"
1313
log d "AppDir is: $component_path"
1414

15-
exec "$component_path/xenia_canary" "$@"
15+
exec "$component_path/bin/xenia_edge" "$@"

archive_later/xenia/component_prepare.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,5 @@ if [[ "$action" == "reset" ]]; then # Run reset-only commands
99
log i "Preparing $component_name"
1010
log i "----------------------"
1111

12-
create_dir "$XDG_CONFIG_HOME/xenia"
13-
dir_prep "$saves_path/xbox360/content" "/app/retrodeck/components/xenia/content"
14-
15-
# Caches
16-
create_dir "$XDG_CACHE_HOME/xenia/cache"
17-
create_dir "$XDG_CACHE_HOME/xenia/cache0"
18-
create_dir "$XDG_CACHE_HOME/xenia/cache1"
1912
dir_prep "$XDG_CACHE_HOME/xenia/cache" "/app/retrodeck/components/xenia/cache"
20-
dir_prep "$XDG_CACHE_HOME/xenia/cache0" "/app/retrodeck/components/xenia/cache0"
21-
dir_prep "$XDG_CACHE_HOME/xenia/cache1" "/app/retrodeck/components/xenia/cache1"
22-
23-
# Storage
24-
25-
create_dir "$storage_path/xenia/storage"
26-
dir_prep "$storage_path/xbox360/xenia/storage" "/app/retrodeck/components/xenia/storage"
27-
create_dir "$storage_path/xenia/fonts"
2813
fi

archive_later/xenia/component_recipe.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
{
22
"xenia": [
33
{
4-
"source_url": "https://github.com/xenia-canary/xenia-canary-releases/releases/download/{VERSION}/xenia_canary_linux.tar.xz",
4+
"source_url": "https://github.com/has207/xenia-edge/releases/download/{VERSION}/xenia_edge_linux.AppImage",
55
"source_type": "github_release",
6-
"version": "$XENIA_DESIRED_VERSION",
7-
"extraction_type": "archive",
6+
"version": "latest",
7+
"extraction_type": "appimage",
88
"assets": [
99
{
10-
"type": "file",
11-
"source": "build/bin/Linux/Release/xenia_canary",
10+
"type": "dir",
11+
"source": "usr/bin",
1212
"dest": "bin"
1313
},
1414
{
15-
"type": "file",
16-
"source": "LICENSE",
17-
"dest": "bin"
15+
"type": "dir",
16+
"source": "usr/share/doc",
17+
"dest": "doc"
18+
},
19+
{
20+
"type": "dir",
21+
"source": "usr/translations",
22+
"dest": "translations"
1823
},
1924
{
2025
"type": "dir",
@@ -60,4 +65,4 @@
6065
"libs": []
6166
}
6267
]
63-
}
68+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# generated by linuxdeploy-plugin-qt
2+
[Paths]
3+
Prefix = ../
4+
Plugins = plugins
5+
Imports = qml
6+
Qml2Imports = qml

archive_later/xenia/rd_config/xenia-canary.config.toml renamed to archive_later/xenia/rd_config/xenia-edge.config.toml

Lines changed: 93 additions & 51 deletions
Large diffs are not rendered by default.
Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,34 @@
1+
cHECK IF plugins are needed or not
12

2-
touch "$component/artifacts/portable.txt"
3+
https://github.com/has207/xenia-edge
34

4-
# Custom Commands
55

6-
# Creating a symlink to be used later
7-
ln -s "$XDG_CONFIG_HOME/xenia" "$component/artifacts/portable"
6+
{
7+
"type": "dir",
8+
"source": "usr/plugins",
9+
"dest": "plugins"
10+
},
811

9-
finalize
12+
OLD:
13+
14+
"source_url": "https://github.com/xenia-canary/xenia-canary-releases/releases/download/{VERSION}/xenia_canary_linux.tar.xz",
15+
16+
17+
OLD PREPARE
18+
19+
create_dir "$XDG_CONFIG_HOME/xenia"
20+
dir_prep "$saves_path/xbox360/content" "/app/retrodeck/components/xenia/content"
21+
22+
# Caches
23+
create_dir "$XDG_CACHE_HOME/xenia/cache"
24+
create_dir "$XDG_CACHE_HOME/xenia/cache0"
25+
create_dir "$XDG_CACHE_HOME/xenia/cache1"
26+
dir_prep "$XDG_CACHE_HOME/xenia/cache" "/app/retrodeck/components/xenia/cache"
27+
dir_prep "$XDG_CACHE_HOME/xenia/cache0" "/app/retrodeck/components/xenia/cache0"
28+
dir_prep "$XDG_CACHE_HOME/xenia/cache1" "/app/retrodeck/components/xenia/cache1"
29+
30+
# Storage
31+
32+
create_dir "$storage_path/xenia/storage"
33+
dir_prep "$storage_path/xbox360/xenia/storage" "/app/retrodeck/components/xenia/storage"
34+
create_dir "$storage_path/xenia/fonts"

0 commit comments

Comments
 (0)