From b508957088a1efc5db729557b6cad603adf37e2c Mon Sep 17 00:00:00 2001 From: Gareth Date: Wed, 2 Jul 2025 21:54:10 +0100 Subject: [PATCH] Fixes an issue with the Rimworld Run Configuration when using multiple parameters --- CHANGELOG.md | 3 +++ gradle.properties | 2 +- src/rider/main/kotlin/run/RunConfiguration.kt | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fed5ddf..85f7e72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 2025.1.1 + * Fixes an issue with the Rimworld Run Configuration when using multiple parameters + ## 2025.1 * Adds support for [Parent=""] attributes * Makes the New Mod template modular, allowing you to select the components you want included in your mod diff --git a/gradle.properties b/gradle.properties index 43788ac..dec539f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ DotnetPluginId=ReSharperPlugin.RimworldDev DotnetSolution=ReSharperPlugin.RimworldDev.sln RiderPluginId=com.jetbrains.rider.plugins.rimworlddev -PluginVersion=2025.1 +PluginVersion=2025.1.1 BuildConfiguration=Release diff --git a/src/rider/main/kotlin/run/RunConfiguration.kt b/src/rider/main/kotlin/run/RunConfiguration.kt index 29795b7..b60152e 100644 --- a/src/rider/main/kotlin/run/RunConfiguration.kt +++ b/src/rider/main/kotlin/run/RunConfiguration.kt @@ -126,7 +126,7 @@ class RunConfiguration(project: Project, factory: ConfigurationFactory, name: St return object : CommandLineState(environment) { override fun startProcess(): ProcessHandler { val commandLine = GeneralCommandLine(getScriptName()) - .withParameters(getCommandLineOptions()) + .withParameters(getCommandLineOptions().split(' ')) EnvironmentVariablesData.create(getEnvData(), true).configureCommandLine(commandLine, true)