diff --git a/internal/build/build.go b/internal/build/build.go index 1eab9ca..ac71037 100644 --- a/internal/build/build.go +++ b/internal/build/build.go @@ -87,28 +87,6 @@ func BuildWeb(webTitle string, output string) error { if err != nil { return err } - - err = os.MkdirAll(output+"/scripts", os.FileMode(0777)) - if err != nil { - return err - } - err = os.MkdirAll(output+"/styles", os.FileMode(0777)) - if err != nil { - return err - } - - files := []string{"scripts/elements.js", "scripts/index.js", "styles/index.css"} - for _, file := range files { - bytes := box.MustBytes(file) - file, err := os.Create(output + "/" + file) - if err != nil { - return err - } - file.Write(bytes) - file.Sync() - file.Close() - } - return nil } diff --git a/internal/build/web/index.html.tmpl b/internal/build/web/index.html.tmpl index c039d9a..f66c969 100644 --- a/internal/build/web/index.html.tmpl +++ b/internal/build/web/index.html.tmpl @@ -1,90 +1 @@ - - -
- - -{{ .Title }}
-Base URL:
- -Could not load sources.
-This source list might not work in the app.
-{{ .Title }}
Base URL:
Could not load sources.
This source list might not work in the app.