Added Mod and server downloader #1

Merged
Raum0x2A merged 8 commits from develop into main 2026-05-04 13:47:19 +00:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit cf71d956d2 - Show all commits

View File

@@ -7,7 +7,7 @@ import (
func main() {
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 {
cliToolMode()
}

View File

@@ -2,7 +2,6 @@ package main
import (
"archive/tar"
"fmt"
"io"
"log"
"net/http"
@@ -13,7 +12,7 @@ import (
)
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
resp, err := http.Get(url)