Revert workspace embed relocation and keep cmd-local embedding

This commit is contained in:
野生派Coder~
2026-03-05 23:18:50 +08:00
parent c1baf67ce6
commit 12a3439bd2
2 changed files with 3 additions and 10 deletions

View File

@@ -7,16 +7,17 @@
package main package main
import ( import (
"embed"
"errors" "errors"
"fmt" "fmt"
"os" "os"
"clawgo"
"clawgo/pkg/config" "clawgo/pkg/config"
"clawgo/pkg/logger" "clawgo/pkg/logger"
) )
var embeddedFiles = clawgo.EmbeddedWorkspace //go:embed workspace
var embeddedFiles embed.FS
var version = "0.1.0" var version = "0.1.0"
var buildTime = "unknown" var buildTime = "unknown"

View File

@@ -1,8 +0,0 @@
package clawgo
import "embed"
// EmbeddedWorkspace bundles onboarding workspace templates into the binary.
//go:embed all:workspace
var EmbeddedWorkspace embed.FS