Alternative webOS launch

Reload torrents list
This commit is contained in:
kolsys
2021-09-14 02:50:37 +03:00
parent 2f19e81855
commit 8b245e941c
6 changed files with 25 additions and 98 deletions

View File

@@ -35,7 +35,7 @@ func main() {
filepath.WalkDir(srcGo+"template/pages/", func(path string, d fs.DirEntry, err error) error {
if !d.IsDir() {
name := strings.TrimPrefix(path, srcGo+"template/")
if !strings.HasPrefix(name, ".") {
if !strings.HasPrefix(filepath.Base(name), ".") {
files = append(files, name)
}
}