Skip to content

Commit

Permalink
provide cor runtimeType for run scene - fix #117
Browse files Browse the repository at this point in the history
  • Loading branch information
van800 committed Jan 11, 2024
1 parent 0097bc9 commit c75d2c7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import com.intellij.psi.PsiElement
import com.jetbrains.rider.plugins.godot.GodotProjectDiscoverer
import com.jetbrains.rider.run.configurations.dotNetExe.DotNetExeConfiguration
import com.jetbrains.rider.run.configurations.dotNetExe.DotNetExeConfigurationType
import com.jetbrains.rider.runtime.dotNetCore.DotNetCoreRuntimeType
import java.io.File

class DebugSceneRunConfigurationProducerCor : LazyRunConfigurationProducer<DotNetExeConfiguration>() {
Expand All @@ -34,6 +35,7 @@ class DebugSceneRunConfigurationProducerCor : LazyRunConfigurationProducer<DotNe
configuration.parameters.programParameters = "--path \"${GodotProjectDiscoverer.getInstance(context.project).mainProjectBasePath.value}\" \"$resPath\""

configuration.parameters.workingDirectory = "${context.project.basePath}"
configuration.parameters.runtimeType = DotNetCoreRuntimeType
configuration.name = file.name
return true
}
Expand Down

0 comments on commit c75d2c7

Please sign in to comment.