state: store launch method instead of launcher path

Launcher path is constant for each launch method on the same system.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-10-18 22:25:09 +09:00
parent ecce832d93
commit 55bb348d5f
4 changed files with 12 additions and 7 deletions

View File

@@ -94,7 +94,7 @@ func (a *app) Start() error {
PID: a.cmd.Process.Pid,
Command: a.seal.command,
Capability: a.seal.et,
Launcher: a.seal.toolPath,
Method: method[a.seal.launchOption],
Argv: a.cmd.Args,
Time: startTime,
}