mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Fix version in debug build
This commit is contained in:
parent
38ddcf59f8
commit
21e47dcccf
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ package application
|
|||
import (
|
||||
"github.com/go-git/go-git/v5"
|
||||
"github.com/samber/lo"
|
||||
"github.com/wailsapp/wails/v3/internal/commands"
|
||||
"github.com/wailsapp/wails/v3/internal/version"
|
||||
"path/filepath"
|
||||
"runtime/debug"
|
||||
)
|
||||
|
|
@ -44,7 +44,7 @@ func (a *App) logStartup() {
|
|||
return dep.Path == "github.com/wailsapp/wails/v3"
|
||||
})
|
||||
|
||||
wailsVersion := commands.VersionString
|
||||
wailsVersion := version.VersionString
|
||||
if wailsPackage != nil && wailsPackage.Replace != nil {
|
||||
wailsVersion = "(local) => " + filepath.ToSlash(wailsPackage.Replace.Path)
|
||||
// Get the latest commit hash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue