Skip to content

Commit

Permalink
Fix the last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mik1ll committed Feb 4, 2025
1 parent 8eeea03 commit 27ed585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void HandleInstall(string extPlayerCommand, string? extraPlayerArgs, string sche
{
var scriptContent = "#!/bin/bash\n" +
"function urldecode() { echo -e \"${1//%/\\\\x}\"; }\n" +
$$"""url=\"$(urldecode \"${1:{{scheme.Length}}\")\"\n""" +
$$"""url=\"$(urldecode \"${1:{{scheme.Length + 1}}\")\"\n""" +
playerName switch
{
"mpv" => $"{extPlayerCommand.Replace(" ", "\\ ")} --no-terminal --no-ytdl {extraPlayerArgs} -- \"${{url}}\"\n",
Expand Down

0 comments on commit 27ed585

Please # to comment.