tidying up after refactor, fix update-package-json task, try to fix factorio-client launcher
This commit is contained in:
parent
8c75b47a96
commit
afbfeda616
7 changed files with 37 additions and 31 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import dev.adamko.kafkatorio.gradle.asConsumer
|
||||
import dev.adamko.kafkatorio.gradle.factorioModAttributes
|
||||
import dev.adamko.isProcessRunning
|
||||
import dev.adamko.not
|
||||
import dev.adamko.kafkatorio.gradle.isProcessRunning
|
||||
import dev.adamko.kafkatorio.gradle.not
|
||||
import org.jetbrains.kotlin.util.parseSpaceSeparatedArgs
|
||||
|
||||
plugins {
|
||||
|
|
@ -52,7 +52,7 @@ val clientLaunch by tasks.registering(Exec::class) {
|
|||
commandLine = parseSpaceSeparatedArgs(
|
||||
// """explorer "steam://rungameid/$factorioGameId// --mp-connect localhost/" """ // not working
|
||||
// """explorer "steam://run/$factorioGameId//--mp-connect localhost/" """ // works! But has annoying pop-up
|
||||
""" $steamExe -applaunch $factorioGameId --mp-connect localhost """
|
||||
""" $steamExe -applaunch $factorioGameId --mp-connect localhost --mod-directory $clientModsDirectory """
|
||||
)
|
||||
doFirst { logger.lifecycle("Launching factorio.exe") }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue