mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-27 14:08:34 +01:00
Compare commits
2 commits
1620b0f462
...
89b120e61c
Author | SHA1 | Date | |
---|---|---|---|
89b120e61c | |||
cd1445af8a |
1 changed files with 3 additions and 3 deletions
|
@ -29,12 +29,12 @@ Task("Run").IsDependentOn("CopyToMods").Does(() => {
|
||||||
// start the tiny life process
|
// start the tiny life process
|
||||||
var exeDir = System.IO.File.ReadAllText($"{tinyLifeDir}/GameDir");
|
var exeDir = System.IO.File.ReadAllText($"{tinyLifeDir}/GameDir");
|
||||||
var process = Process.Start(new ProcessStartInfo($"{exeDir}/Tiny Life") {
|
var process = Process.Start(new ProcessStartInfo($"{exeDir}/Tiny Life") {
|
||||||
Arguments = "-v --skip-splash --skip-preloads --debug-saves",
|
Arguments = "-v --skip-splash --skip-preloads --debug-saves --ansi",
|
||||||
CreateNoWindow = true
|
CreateNoWindow = true
|
||||||
});
|
});
|
||||||
|
|
||||||
// we wait a bit to make sure the process has generated a new log file, bleh
|
// we wait a bit to make sure the process has generated a new log file
|
||||||
Thread.Sleep(3000);
|
Thread.Sleep(1000);
|
||||||
|
|
||||||
// attach to the newest log file
|
// attach to the newest log file
|
||||||
var logsDir = $"{tinyLifeDir}/Logs";
|
var logsDir = $"{tinyLifeDir}/Logs";
|
||||||
|
|
Loading…
Reference in a new issue