set buildmode to exe for non-build mode

This commit is contained in:
Li Jie
2025-09-09 19:53:45 +08:00
parent 68947bfc1f
commit a2742a9de4
2 changed files with 3 additions and 2 deletions

View File

@@ -113,8 +113,6 @@ func UpdateBuildConfig(conf *build.Config) error {
if err := UpdateConfig(conf); err != nil {
return err
}
// Validate and set build mode
if err := build.ValidateBuildMode(BuildMode); err != nil {
return err
}