Add Session Switch plugin: 'Switch to Steam' power menu button for OpenGamepadUI

This commit is contained in:
Jose Falanga 2026-08-07 01:34:02 -03:00
commit f3ae701000
5 changed files with 205 additions and 0 deletions

42
export_presets.cfg Normal file
View file

@ -0,0 +1,42 @@
[preset.PRESET_NUM]
name="PLUGIN_NAME"
platform="Linux/X11"
runnable=false
dedicated_server=false
custom_features=""
export_filter="resources"
export_files=PackedStringArray()
include_filter="plugins/PLUGIN_ID/*"
exclude_filter="addons/*"
export_path="build/PLUGIN_ID.x86_64"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
script_encryption_key=""
[preset.PRESET_NUM.options]
custom_template/debug=""
custom_template/release=""
debug/export_console_script=1
binary_format/embed_pck=false
texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
binary_format/architecture="x86_64"
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
ssh_remote_deploy/extra_args_ssh=""
ssh_remote_deploy/extra_args_scp=""
ssh_remote_deploy/run_script="#!/usr/bin/env bash
export DISPLAY=:0
unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
\"{temp_dir}/{exe_name}\" {cmd_args}"
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
rm -rf \"{temp_dir}\""