mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-06-25 00:03:36 -04:00
* Added missing remote play clients to all.sh * This allows these clients to properly install * Fixed install locations for Greenlight and ShadowPC * Fixed error in cloud.conf * Restores https://github.com/dragoonDorise/EmuDeck/pull/941 * This was not working originally because the cloud.conf file is never updated once it's copied to Emulation/roms/cloud * Added a grep command to detect "browercommand" so this cloud.conf can be updated once in order for this PR to work properly * Added ES-DE and Pegasus optional support * Added a prompt so users can select if they would like their services in ES-DE and Pegasus. Copies files to Emulation/roms/desktop * Removed cloud and remoteplay from Pegasus so scraping can be shared properly between ES-DE and Pegasus * Swapped default desktop system for ES-DE to "Keep ES-DE running" * Added back firefox support * Reverts https://github.com/dragoonDorise/EmuDeck/pull/910 * Added Steam ROM Manager parser for bash and desktop files with proper exclusion for the cloud and remoteplay folders Co-authored-by: rawdatafeel <108900299+rawdatafeel@users.noreply.github.com> Co-authored-by: Thomas Crider <11287837+GloriousEggroll@users.noreply.github.com>
49 lines
1.4 KiB
Text
49 lines
1.4 KiB
Text
cloudconfversion="1.0"
|
|
# NOTE: These parameters are focused on chromium-based web browsers.
|
|
# They may not all apply to other browsers and manually changing could break the scripts.
|
|
#
|
|
#
|
|
# Run parameters for flatpak launch
|
|
#
|
|
BROWSERAPP="com.google.Chrome"
|
|
#
|
|
FLATPAKOPTIONS="\
|
|
--branch=stable \
|
|
--arch=x86_64 \
|
|
--file-forwarding \
|
|
"
|
|
#
|
|
#
|
|
#
|
|
#
|
|
# Launch parameters passed to flatpak app
|
|
#
|
|
# Default (Steam Deck Game Mode): 1024,640
|
|
WINDOWSIZE="1024,640"
|
|
# Default (Steam Deck Game Mode): 1.25
|
|
# NOTE: This is used for "force-device-scale-factor" and "device-scale-factor"
|
|
DEVICESCALEFACTOR="1.25"
|
|
# Browser modes (--kiosk, --start-fullscreen):
|
|
MODE="--kiosk"
|
|
#
|
|
BROWSEROPTIONS="\
|
|
--window-size=${WINDOWSIZE} \
|
|
--force-device-scale-factor=${DEVICESCALEFACTOR} \
|
|
--device-scale-factor=${DEVICESCALEFACTOR} \
|
|
${MODE} \
|
|
"
|
|
|
|
# prevent possible LD_PRELOAD entries from steam being passed to browser
|
|
LD_PRELOAD=""
|
|
|
|
browsercommand() {
|
|
{ # try flatpak with specified browserapp
|
|
"/usr/bin/flatpak" run ${FLATPAKOPTIONS} ${BROWSERAPP} @@u @@ ${BROWSEROPTIONS} ${LINK}
|
|
} || { # if that fails, try running the browserapp natively
|
|
${BROWSERAPP} ${BROWSEROPTIONS} ${LINK}
|
|
} || { # if browserapp fails, try looking up and using default browser given by xdg-settings
|
|
DEFAULTBROWSERAPP=$(cat /usr/share/applications/"$(xdg-settings get default-web-browser)" | grep Exec= | head -n 1 | cut -d = -f 2 | cut -d " " -f1)
|
|
${DEFAULTBROWSERAPP} ${BROWSEROPTIONS} ${LINK}
|
|
}
|
|
}
|
|
|