MCPcopy Create free account
hub / github.com/WendellCraft/ModpackDebuggerKit / findPrismLauncher

Function findPrismLauncher

app.go:1017–1022  ·  view source on GitHub ↗

--- Debug Control ---

()

Source from the content-addressed store, hash-verified

1015// --- Debug Control ---
1016
1017func findPrismLauncher() (string, error) {
1018 if path, err := exec.LookPath("prismlauncher"); err == nil {
1019 return path, nil
1020 }
1021 return "", fmt.Errorf("Prism Launcher not found. Install it or turn off Auto Launch Game.")
1022}
1023
1024func (a *App) StartDebug(mode string, selectedMods []string, autoLaunch bool) error {
1025 a.mu.Lock()

Callers 2

waitForTestResultMethod · 0.85
StartDebugMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected