Encode/Decode Launcher string in case of special charactors

This commit is contained in:
NI
2019-08-29 23:19:21 +08:00
parent c815f73e7a
commit 824f00bad8

View File

@@ -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));
}
}