diff options
| -rw-r--r-- | README.md | 81 | ||||
| -rw-r--r-- | user_install_script.sh | 12 |
2 files changed, 22 insertions, 71 deletions
@@ -1,76 +1,15 @@ -# Decky Installer +# AeroCore Accelerator Installer -A local mirror version of the Decky Installer for Steam Deck. This repository allows users to install Decky plugins without relying on the official Decky Installer servers. +This repository contains the installer assets and a clear view of the installation flow for AeroCore Accelerator. -## Features +## Install -- Local hosting of Decky Installer files -- Easy installation of Decky plugins -- No dependency on external servers -- **Custom store configuration support** - Configure and use custom plugin store URLs - -## Usage - -### Basic Plugin Installation - -1. Download the `user_install_script.sh` or the `decky_installer.desktop` file from the releases section. -2. Place the downloaded file in a convenient location on your Steam Deck. -3. Run the script or launch the desktop file to start the Decky Installer. - -### Command Structure - -The `decky_client.py` script uses subcommands for different operations: - -```bash -# Install a plugin -python3 decky_client.py install [options] - -# Configure custom store URL -python3 decky_client.py configure-store <url> - -# Get configured store URL -python3 decky_client.py get-store -``` - -### Custom Store Configuration - -The installer now supports configuring custom plugin store URLs: - -#### Configure a Custom Store URL -```bash -python3 decky_client.py configure-store "https://your-custom-store.com/plugins" -``` - -#### Get the Currently Configured Store URL -```bash -python3 decky_client.py get-store -``` - -#### Install from a Custom Store -```bash -python3 decky_client.py install --target-id 42 --store-url "https://your-custom-store.com/plugins" -``` - -## Mock Server for Testing - -This repository includes a mock Decky Loader server for testing purposes: - -### Start the Mock Server -```bash -python3 mock_decky_server.py --auto-confirm -``` - -### Test with the Mock Server -```bash -python3 decky_client.py install --target-id 42 -``` - -The mock server implements the following Decky Loader backend routes: -- `utilities/ping` - Health check -- `utilities/install_plugin` - Plugin installation -- `utilities/confirm_plugin_install` - Confirm installation -- `utilities/cancel_plugin_install` - Cancel installation -- `utilities/settings/get` - Get configuration settings -- `utilities/settings/set` - Set configuration settings +1. On Steam Deck or another SteamOS-like device, download `decky_installer.desktop` from [this direct download link](https://github.com/AeroCore-IO/decky-installer/releases/latest/download/decky_installer.desktop). +2. Double-click `decky_installer.desktop` to start the automated setup. +## What It Does +- Installs Decky Loader if it is not already installed. +- Installs the AeroCore Accelerator plugin inside Decky Loader. +- Sets Decky Loader's plugin store URL to AeroCore's regional mirror, which keeps in sync with the official store. +- Completes the setup so the accelerator is ready to use. diff --git a/user_install_script.sh b/user_install_script.sh index 609252e..42bdd38 100644 --- a/user_install_script.sh +++ b/user_install_script.sh @@ -31,7 +31,19 @@ if [ "$SKIP_DECKY_INSTALL" != true ]; then exit 1 fi + # The official installer may exit with a non-zero code even when it succeeds. + # Do not abort our script here; verify via systemd instead. + set +e bash "${tmp_script}" + installer_status=$? + set -e + + if systemctl is-active --quiet plugin_loader.service 2>/dev/null; then + echo "Decky Loader install completed (installer exit code: ${installer_status})." + else + echo "Decky Loader install did not complete successfully (installer exit code: ${installer_status})." >&2 + exit 1 + fi fi # Download and verify Decky Loader client (mirror-hosted). |
