Custom args and global custom args now use double comma as a delimiter. This should allow file names with spaces when using custom args (global and not)

This commit is contained in:
Tzahi12345
2020-05-03 21:05:56 -04:00
parent 1861011fb0
commit 8e5db3e9d1
3 changed files with 9 additions and 6 deletions

View File

@@ -72,12 +72,15 @@ export class ArgModifierDialogComponent implements OnInit {
}
addArg() {
if (!this.modified_args) {
this.modified_args = '';
}
// adds space
if (this.modified_args !== '') {
this.modified_args += ' ';
this.modified_args += ',,';
}
this.modified_args += this.stateCtrl.value + ' ' + (this.secondArgEnabled ? this.secondArg : '');
this.modified_args += this.stateCtrl.value + (this.secondArgEnabled ? ',,' + this.secondArg : '');
}
canAddArg() {