Call the local process the local engine, not a server
Windows users read "server" as a network service and asked whether the app phones home, even though the bundle only ever talks to 127.0.0.1. The launcher dialogs, the help text, the Stop shortcut and the bundle README now call it the local engine and say plainly that it is a background process on this PC.
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
//
|
||||
// Usage:
|
||||
//
|
||||
// Luminary.exe start (or reuse) the server and open the browser
|
||||
// Luminary.exe -stop stop the server started from this folder
|
||||
// Luminary.exe start (or reuse) the local engine and open the browser
|
||||
// Luminary.exe -stop stop the local engine started from this folder
|
||||
// Luminary.exe -repair re-download node.exe and verify it against version.txt
|
||||
//
|
||||
// The design and the edge cases are described in ../DESIGN.md.
|
||||
@@ -232,8 +232,8 @@ func run() error {
|
||||
time.Sleep(pollEvery)
|
||||
}
|
||||
if processAlive(info.PID) {
|
||||
return fmt.Errorf("Luminary is already starting (pid %d) but is not answering on port %d. "+
|
||||
"See %s.", info.PID, info.Port, filepath.Join(dataDirectory(), "logs", "server.err.log"))
|
||||
return fmt.Errorf("Luminary is already starting (pid %d) but is not answering on its "+
|
||||
"local port %d. See %s.", info.PID, info.Port, filepath.Join(dataDirectory(), "logs", "server.err.log"))
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -301,7 +301,7 @@ func run() error {
|
||||
// code is deliberately ignored: "Stop" force-kills the child.
|
||||
_ = cmd.Wait()
|
||||
removeRuntime()
|
||||
writeLog("launcher.log", "server exited")
|
||||
writeLog("launcher.log", "local engine exited")
|
||||
return nil
|
||||
}
|
||||
time.Sleep(pollEvery)
|
||||
@@ -309,8 +309,8 @@ func run() error {
|
||||
|
||||
_ = cmd.Process.Kill()
|
||||
removeRuntime()
|
||||
return fmt.Errorf("Luminary did not answer on %s within %s; see %s",
|
||||
healthPath, startupWait, filepath.Join(logDir, "server.err.log"))
|
||||
return fmt.Errorf("Luminary's local engine did not answer within %s; see %s",
|
||||
startupWait, filepath.Join(logDir, "server.err.log"))
|
||||
}
|
||||
|
||||
// --- runtime resolution -------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user