Minor changes

Spelling error
modified headlessQuery string removing Sprint
This commit is contained in:
2026-05-04 07:35:57 -06:00
parent bb65f409b4
commit cf71d956d2
2 changed files with 2 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ import (
func main() { func main() {
if len(os.Args) == 1 { if len(os.Args) == 1 {
fmt.Println("Use 'start', 'stop', or 'backup' command\nex. factoryman start\nTo configure edit 'conifg.yml'") fmt.Println("Use 'start', 'stop', or 'backup' command\nex. factoryman start\nTo configure edit 'config.yml'")
} else { } else {
cliToolMode() cliToolMode()
} }

View File

@@ -2,7 +2,6 @@ package main
import ( import (
"archive/tar" "archive/tar"
"fmt"
"io" "io"
"log" "log"
"net/http" "net/http"
@@ -13,7 +12,7 @@ import (
) )
func downloadHeadless() { func downloadHeadless() {
headlessQuery := fmt.Sprintf("https://www.factorio.com/get-download/latest/headless/linux64") headlessQuery := "https://www.factorio.com/get-download/latest/headless/linux64"
url := headlessQuery url := headlessQuery
resp, err := http.Get(url) resp, err := http.Get(url)