From 824f00bad817d99a44cd033d3d5ccc13b90b1d3c Mon Sep 17 00:00:00 2001 From: NI Date: Thu, 29 Aug 2019 23:19:21 +0800 Subject: [PATCH] Encode/Decode Launcher string in case of special charactors --- ui/commands/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/commands/commands.js b/ui/commands/commands.js index 617bcb3..76e508a 100644 --- a/ui/commands/commands.js +++ b/ui/commands/commands.js @@ -675,7 +675,7 @@ class Builder { return new Wizard( this.launchCmd( new Info(this), - launcher, + decodeURI(launcher), streams, subs, controls, @@ -694,7 +694,7 @@ class Builder { * @return {string} Launcher string */ launcher(config) { - return this.name() + ":" + this.launcherCmd(config); + return this.name() + ":" + encodeURI(this.launcherCmd(config)); } }