mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-27 22:18:35 +01:00
Compare commits
No commits in common. "89b120e61ccceaa2610f178fa0f4f97bfe6abc2b" and "1620b0f46244cdba46638be02fb93d8134b12479" have entirely different histories.
89b120e61c
...
1620b0f462
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 --ansi",
|
Arguments = "-v --skip-splash --skip-preloads --debug-saves",
|
||||||
CreateNoWindow = true
|
CreateNoWindow = true
|
||||||
});
|
});
|
||||||
|
|
||||||
// we wait a bit to make sure the process has generated a new log file
|
// we wait a bit to make sure the process has generated a new log file, bleh
|
||||||
Thread.Sleep(1000);
|
Thread.Sleep(3000);
|
||||||
|
|
||||||
// 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