Skip to content

Commit 527c352

Browse files
committed
Also show the logo/banner when starting on Windows
1 parent b20948c commit 527c352

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

engine/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ func (ac *Config) MustServe(mux *http.ServeMux) error {
503503
// Console output
504504
if !ac.quietMode && !ac.singleFileMode && !ac.simpleMode && !ac.noBanner {
505505
// Output a colorful ansi logo if a proper terminal is available
506-
fmt.Println(platformdep.Banner(ac.versionString, ac.description))
506+
fmt.Println(Banner(ac.versionString, ac.description))
507507
} else if !ac.quietMode {
508508
timestamp := time.Now().Format("2006-01-02 15:04")
509509
to.OutputTags("<cyan>" + ac.versionString + "<darkgray> - " + timestamp + "<off>")
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
//go:build unix
2-
3-
package platformdep
1+
package engine
42

53
import (
64
"bytes"

platformdep/logo.go

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)