-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
HERE="$(dirname "$(readlink -f "${0}")")" | ||
export UNION_PRELOAD="${HERE}" | ||
export LD_PRELOAD="${HERE}/libunionpreload.so" | ||
export LD_PRELOAD="${HERE}/usr/lib/libqxcb.so" | ||
export PATH="$HERE/usr:$HERE/usr/bin:$HERE/usr/lib:$HERE/usr/share:$HERE/usr/share/doc:$HERE/usr/share/applications:$HERE/usr/share/icons:$HERE/usr/share/dolphin-emu:$HERE/usr/share/dolphin-emu/sys:$HERE/usr/share/dolphin-emu/sys/GameSettings:$HERE/usr/share/dolphin-emu/sys/GC:$HERE/usr/share/dolphin-emu/sys/Wii:$HERE/usr/share/dolphin-emu/sys/Wii/shared2:$HERE/usr/share/dolphin-emu/sys/Wii/shared2/wc24:$HERE/usr/share/dolphin-emu/sys/Wii/shared2/wc24/mbox:$HERE/usr/share/dolphin-emu/sys/Load:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Okami:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Galaxy 2:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Xenoblade Chronicles:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Last Story:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Link's Crossbow Training:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Battalion Wars 2:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Monster Hunter Tri:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Conduit:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Arc Rise Fantasia:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Legend of Zelda Twilight Princess:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Skyward Sword Bloom:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Dragon Ball Z Budokai Tenkaichi 3:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Native Resolution DOF:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games DOF Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The House of the Dead Overkill:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Bloom Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Sin and Punishment - Star Successor:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Rune Factory Frontier:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Skylanders Spyro's Adventure:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Mario Kart Wii:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Little King's Story:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Wii Play:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Metroid Prime 3 - Corruption:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Native Resolution Bloom:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Sonic Colors:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Fragile Dreams - Farewell Ruins of the Moon:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Donkey Kong Country Returns:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Nights Journey of Dreams:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Sunshine:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Galaxy:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Mario Strikers Charged:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games HUD Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Pandora's Tower:$HERE/usr/share/dolphin-emu/sys/Themes:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Blue:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Pink:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Lite:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Emerald:$HERE/usr/share/dolphin-emu/sys/Themes/Clean:$HERE/usr/share/dolphin-emu/sys/Shaders:$HERE/usr/share/dolphin-emu/sys/Shaders/Passive:$HERE/usr/share/dolphin-emu/sys/Shaders/Anaglyph:$HERE/usr/share/dolphin-emu/sys/Resources:$HERE/usr/share/dolphin-emu/sys/Profiles:$HERE/usr/share/dolphin-emu/sys/Profiles/Wiimote:$HERE/usr/share/locale:$HERE/usr/share/man:$PATH" | ||
export LD_LIBRARY_PATH="$HERE/usr:$HERE/usr/bin:$HERE/usr/lib:$HERE/usr/share:$HERE/usr/share/doc:$HERE/usr/share/applications:$HERE/usr/share/icons:$HERE/usr/share/dolphin-emu:$HERE/usr/share/dolphin-emu/sys:$HERE/usr/share/dolphin-emu/sys/GameSettings:$HERE/usr/share/dolphin-emu/sys/GC:$HERE/usr/share/dolphin-emu/sys/Wii:$HERE/usr/share/dolphin-emu/sys/Wii/shared2:$HERE/usr/share/dolphin-emu/sys/Wii/shared2/wc24:$HERE/usr/share/dolphin-emu/sys/Wii/shared2/wc24/mbox:$HERE/usr/share/dolphin-emu/sys/Load:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Okami:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Galaxy 2:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Xenoblade Chronicles:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Last Story:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Link's Crossbow Training:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Battalion Wars 2:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Monster Hunter Tri:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Conduit:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Arc Rise Fantasia:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Legend of Zelda Twilight Princess:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Skyward Sword Bloom:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Dragon Ball Z Budokai Tenkaichi 3:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Native Resolution DOF:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games DOF Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The House of the Dead Overkill:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Bloom Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Sin and Punishment - Star Successor:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Rune Factory Frontier:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Skylanders Spyro's Adventure:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Mario Kart Wii:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Little King's Story:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Wii Play:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Metroid Prime 3 - Corruption:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Native Resolution Bloom:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Sonic Colors:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Fragile Dreams - Farewell Ruins of the Moon:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Donkey Kong Country Returns:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Nights Journey of Dreams:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Sunshine:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Galaxy:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Mario Strikers Charged:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games HUD Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Pandora's Tower:$HERE/usr/share/dolphin-emu/sys/Themes:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Blue:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Pink:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Lite:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Emerald:$HERE/usr/share/dolphin-emu/sys/Themes/Clean:$HERE/usr/share/dolphin-emu/sys/Shaders:$HERE/usr/share/dolphin-emu/sys/Shaders/Passive:$HERE/usr/share/dolphin-emu/sys/Shaders/Anaglyph:$HERE/usr/share/dolphin-emu/sys/Resources:$HERE/usr/share/dolphin-emu/sys/Profiles:$HERE/usr/share/dolphin-emu/sys/Profiles/Wiimote:$HERE/usr/share/locale:$HERE/usr/share/man:$LD_LIBRARY_PATH" | ||
export XDG_DATA_DIRS="$HERE/usr:$HERE/usr/bin:$HERE/usr/lib:$HERE/usr/share:$HERE/usr/share/doc:$HERE/usr/share/applications:$HERE/usr/share/icons:$HERE/usr/share/dolphin-emu:$HERE/usr/share/dolphin-emu/sys:$HERE/usr/share/dolphin-emu/sys/GameSettings:$HERE/usr/share/dolphin-emu/sys/GC:$HERE/usr/share/dolphin-emu/sys/Wii:$HERE/usr/share/dolphin-emu/sys/Wii/shared2:$HERE/usr/share/dolphin-emu/sys/Wii/shared2/wc24:$HERE/usr/share/dolphin-emu/sys/Wii/shared2/wc24/mbox:$HERE/usr/share/dolphin-emu/sys/Load:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Okami:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Galaxy 2:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Xenoblade Chronicles:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Last Story:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Link's Crossbow Training:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Battalion Wars 2:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Monster Hunter Tri:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Conduit:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Arc Rise Fantasia:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Legend of Zelda Twilight Princess:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Skyward Sword Bloom:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Dragon Ball Z Budokai Tenkaichi 3:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Native Resolution DOF:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games DOF Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The House of the Dead Overkill:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Bloom Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Sin and Punishment - Star Successor:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Rune Factory Frontier:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Skylanders Spyro's Adventure:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Mario Kart Wii:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Little King's Story:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Wii Play:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Metroid Prime 3 - Corruption:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Native Resolution Bloom:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Sonic Colors:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Fragile Dreams - Farewell Ruins of the Moon:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Donkey Kong Country Returns:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Nights Journey of Dreams:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Sunshine:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Galaxy:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Mario Strikers Charged:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games HUD Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Pandora's Tower:$HERE/usr/share/dolphin-emu/sys/Themes:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Blue:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Pink:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Lite:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Emerald:$HERE/usr/share/dolphin-emu/sys/Themes/Clean:$HERE/usr/share/dolphin-emu/sys/Shaders:$HERE/usr/share/dolphin-emu/sys/Shaders/Passive:$HERE/usr/share/dolphin-emu/sys/Shaders/Anaglyph:$HERE/usr/share/dolphin-emu/sys/Resources:$HERE/usr/share/dolphin-emu/sys/Profiles:$HERE/usr/share/dolphin-emu/sys/Profiles/Wiimote:$HERE/usr/share/locale:$HERE/usr/share/man:$XDG_DATA_DIRS" | ||
export QT_PLUGIN_PATH="$HERE/usr:$HERE/usr/bin:$HERE/usr/lib:$HERE/usr/share:$HERE/usr/share/doc:$HERE/usr/share/applications:$HERE/usr/share/icons:$HERE/usr/share/dolphin-emu:$HERE/usr/share/dolphin-emu/sys:$HERE/usr/share/dolphin-emu/sys/GameSettings:$HERE/usr/share/dolphin-emu/sys/GC:$HERE/usr/share/dolphin-emu/sys/Wii:$HERE/usr/share/dolphin-emu/sys/Wii/shared2:$HERE/usr/share/dolphin-emu/sys/Wii/shared2/wc24:$HERE/usr/share/dolphin-emu/sys/Wii/shared2/wc24/mbox:$HERE/usr/share/dolphin-emu/sys/Load:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Okami:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Galaxy 2:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Xenoblade Chronicles:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Last Story:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Link's Crossbow Training:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Battalion Wars 2:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Monster Hunter Tri:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Conduit:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Arc Rise Fantasia:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The Legend of Zelda Twilight Princess:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Skyward Sword Bloom:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Dragon Ball Z Budokai Tenkaichi 3:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Native Resolution DOF:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games DOF Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/The House of the Dead Overkill:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Bloom Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Sin and Punishment - Star Successor:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Rune Factory Frontier:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Skylanders Spyro's Adventure:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Mario Kart Wii:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Little King's Story:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Wii Play:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Metroid Prime 3 - Corruption:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games Native Resolution Bloom:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Sonic Colors:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Fragile Dreams - Farewell Ruins of the Moon:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Donkey Kong Country Returns:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Nights Journey of Dreams:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Sunshine:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Super Mario Galaxy:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Mario Strikers Charged:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/All Games HUD Removal:$HERE/usr/share/dolphin-emu/sys/Load/GraphicMods/Pandora's Tower:$HERE/usr/share/dolphin-emu/sys/Themes:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Blue:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Pink:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Lite:$HERE/usr/share/dolphin-emu/sys/Themes/Clean Emerald:$HERE/usr/share/dolphin-emu/sys/Themes/Clean:$HERE/usr/share/dolphin-emu/sys/Shaders:$HERE/usr/share/dolphin-emu/sys/Shaders/Passive:$HERE/usr/share/dolphin-emu/sys/Shaders/Anaglyph:$HERE/usr/share/dolphin-emu/sys/Resources:$HERE/usr/share/dolphin-emu/sys/Profiles:$HERE/usr/share/dolphin-emu/sys/Profiles/Wiimote:$HERE/usr/share/locale:$HERE/usr/share/man:$QT_PLUGIN_PATH" | ||
EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 1) | ||
exec "${EXEC}" "$@" |
Binary file not shown.