返回 DeepSeek-Reasonix
host_endpoint_windows.go
根目录 / desktop / host_endpoint_windows.go
1 //go:build windows
2
3 package main
4
5 import (
6 "os"
7 "reasonix/desktop/internal/instanceidentity"
8 "reasonix/internal/config"
9 )
10
11 func startUpdateEndpoint() (func(), error) {
12 if !hostRPCRequested(os.Args[1:]) {
13 return func() {}, nil
14 }
15 return instanceidentity.ListenEndpoint(instanceidentity.ForHome(config.ReasonixHomeDir()))
16 }
17
17 lines GO