Fixed banner
This commit is contained in:
parent
b7bfc3de62
commit
790e20edff
44
main.go
44
main.go
|
@ -6,7 +6,6 @@ import (
|
|||
"github.com/labstack/gommon/log"
|
||||
"html/template"
|
||||
|
||||
|
||||
"fmt"
|
||||
"github.com/astaxie/session"
|
||||
_ "github.com/astaxie/session/providers/memory"
|
||||
|
@ -29,25 +28,26 @@ func main() {
|
|||
Init()
|
||||
|
||||
//Startup Banner
|
||||
fmt.Println("################################################################")
|
||||
fmt.Println("# _ __ __ _ _____ _ _ #")
|
||||
fmt.Println("# | | / / / _(_) ____ / __ \\ | | | | #")
|
||||
fmt.Println("# | |/ / ___ _ __ | |_ _ / __ \\| / \\/ __ _ ___| |_| | ___ #")
|
||||
fmt.Println("# | \\ / _ \\| '_ \\| _| |/ / _` | | / _` / __| __| |/ _ \\ #")
|
||||
fmt.Println("# | |\\ \\ (_) | | | | | | | | (_| | \\__/\\ (_| \\__ \\ |_| | __/ #")
|
||||
fmt.Println("# \\_| \\_/\\___/|_| |_|_| |_|\\ \\__,_|\\____/\\__,_|___/\\__|_|\\___| #")
|
||||
fmt.Println("# \\____/ #")
|
||||
fmt.Println("# #")
|
||||
fmt.Println("# _ __ _ #")
|
||||
fmt.Println("# | | / / (_) #")
|
||||
fmt.Println("# | |/ / __ _ ___ _ _ __ ___ #")
|
||||
fmt.Println("# | \\ / _` / __| | '_ \\ / _ \\ #")
|
||||
fmt.Println("# | |\\ \\ (_| \\__ \\ | | | | (_) | #")
|
||||
fmt.Println("# \\_| \\_/\\__,_|___/_|_| |_|\\___/ #")
|
||||
fmt.Println("# #")
|
||||
fmt.Println("# © 2017 Konrad Langenberg (kola-entertainments.de) #")
|
||||
fmt.Println("# Version: " + Version + " #")
|
||||
fmt.Println("################################################################")
|
||||
fmt.Println(`
|
||||
################################################################
|
||||
# _ __ __ _ _____ _ _ #
|
||||
# | | / / / _(_) ____ / __ \ | | | | #
|
||||
# | |/ / ___ _ __ | |_ _ / __ \| / \/ __ _ ___| |_| | ___ #
|
||||
# | \ / _ \| '_ \| _| |/ / _` + "`" + ` | | / _` + "`" + ` / __| __| |/ _ \ #
|
||||
# | |\ \ (_) | | | | | | | | (_| | \__/\ (_| \__ \ |_| | __/ #
|
||||
# \_| \_/\___/|_| |_|_| |_|\ \__,_|\____/\__,_|___/\__|_|\___| #
|
||||
# \____/ #
|
||||
# #
|
||||
# _ __ _ #
|
||||
# | | / / (_) #
|
||||
# | |/ / __ _ ___ _ _ __ ___ #
|
||||
# | \ / _` + "`" + ` / __| | '_ \ / _ \ #
|
||||
# | |\ \ (_| \__ \ | | | | (_) | #
|
||||
# \_| \_/\__,_|___/_|_| |_|\___/ #
|
||||
# #
|
||||
# © 2017-2019 Konrad Langenberg (konradlangenberg.de) #
|
||||
# Version: ` + Version + ` #
|
||||
################################################################`)
|
||||
|
||||
//Echo init
|
||||
e := echo.New()
|
||||
|
@ -115,7 +115,7 @@ func main() {
|
|||
|
||||
// Create Frontend window
|
||||
var wFrontend *astilectron.Window
|
||||
wFrontend, err = a.NewWindow("http://" + SiteConf.Interface, &astilectron.WindowOptions{
|
||||
wFrontend, err = a.NewWindow("http://"+SiteConf.Interface, &astilectron.WindowOptions{
|
||||
Center: astilectron.PtrBool(true),
|
||||
Height: astilectron.PtrInt(800),
|
||||
Width: astilectron.PtrInt(1200),
|
||||
|
@ -143,7 +143,7 @@ func main() {
|
|||
|
||||
// Create Admin window
|
||||
var wAdmin *astilectron.Window
|
||||
if wAdmin, err = a.NewWindow("http://" + SiteConf.Interface + "/admin", &astilectron.WindowOptions{
|
||||
if wAdmin, err = a.NewWindow("http://"+SiteConf.Interface+"/admin", &astilectron.WindowOptions{
|
||||
Center: astilectron.PtrBool(true),
|
||||
Height: astilectron.PtrInt(700),
|
||||
Width: astilectron.PtrInt(1200),
|
||||
|
|
Loading…
Reference in New Issue