5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-17 01:19:29 +08:00

Fix build issue

This commit is contained in:
Lea Anthony 2024-12-15 08:32:43 +11:00
parent 629374698d
commit 7aa7534852
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
2 changed files with 4 additions and 6 deletions

View File

@ -30,8 +30,9 @@ tasks:
- rm -rf {{.TEMPLATE_DIR}}
- mkdir -p {{.TEMPLATE_DIR}}
cli:install:
install:
dir: cmd/wails3
silent: true
cmds:
- go install
- echo "Installed wails CLI"
@ -67,8 +68,9 @@ tasks:
- go get -u github.com/go-task/task/v3
reinstall-cli:
dir: cmd/wails
dir: cmd/wails3
internal: true
silent: true
cmds:
- go install
- echo "Reinstalled wails CLI"

View File

@ -7,10 +7,6 @@ import (
"net/http"
)
func defaultIndexHTML() []byte {
return []byte{}
}
func NewAssetFileServer(vfs fs.FS) http.Handler {
return newAssetFileServerFS(vfs)
}