Skip to content

Commit

Permalink
Automation script now works with '
Browse files Browse the repository at this point in the history
  • Loading branch information
streetpea committed Sep 4, 2022
1 parent 7eaa001 commit f99c093
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/setup/automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ Now that you have `chiaki4deck` configured, it's time to make it wake up your Pl
2. `<console_nickname>`
!!! Caution "Beware of '"
If you have any ' in your nickname itself, such as `Street Pea's PS5`, you will need enter the `'` as `'\''`. Thus, for `Street Pea's PS5` instead of using `Street Pea's PS5` you would use `Street Pea'\''s PS5`. All other characters are fine. This is due to the PlayStation console allowing any manner of names (including non-valid hostnames with all manner of special characters) and Chiaki using that name in its configuration file.
3. `<remote_play_registration_key>`
4. `<launch_option>`
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ sleep 1
trap - ERR
# Begin playing PlayStation remote play via Chiaki on your Steam Deck :)
flatpak run re.chiaki.Chiaki4deck --${mode} stream '${server_nickname}' ${ps_ip}
flatpak run re.chiaki.Chiaki4deck --${mode} stream $(printf %q "${server_nickname}") ${ps_ip}
EOF

# Make script executable
Expand Down

0 comments on commit f99c093

Please sign in to comment.