wails icon indicating copy to clipboard operation
wails copied to clipboard

Wails 2.3.0 Showing As 2.2.0

Open allcapsc opened this issue 3 years ago • 6 comments

Description

After Updating Wails From 2.2.0 To 2.3.0 The CLI Still Shows As If The Version Is 2.2.0 But The CLI Is Updates image

To Reproduce

  1. Download
  2. Run CLI To See Version

Expected behaviour

It Should Prompt The CLI As 2.3.0

Screenshots

No response

Attempted Fixes

I Attempted To Remove And Reinstall, Same Bug

System Details

DEB | Using go webview2loader
Wails CLI v2.2.0

Scanning system - Please wait (this may take a long time)...Done.

# System

OS           | Windows 10 Home
Version      | 2009 (Build: 22621)
ID           | 22H2
Go Version   | go1.18
Platform     | windows
Architecture | amd64

# Wails

Version | v2.2.0

# Dependencies

Dependency | Package Name | Status    | Version
WebView2   | N/A          | Installed | 108.0.1462.54
npm        | N/A          | Installed | 9.1.2
*upx       | N/A          | Available |
*nsis      | N/A          | Installed | v3.08
* - Optional Dependency

# Diagnosis

Your system is ready for Wails development!
Optional package(s) installation details:
  - upx : Available at https://upx.github.io/

 ♥   If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

Additional context

No response

allcapsc avatar Dec 29 '22 06:12 allcapsc

Thought I couldn't install 2.3.0. Turns out the CLI is lying

merlinaudio avatar Dec 29 '22 12:12 merlinaudio

Oh, seems like the problem is a little bigger than that. Whenever I run wails dev, my project gets rolled back to 2.2.0:

$ wails dev
DEB | Using go webview2loader
Wails CLI v2.2.0

Updating go.mod to use Wails 'v2.2.0' # <<<<< what
Executing: go mod tidy
  • Generating bindings: Done.
  • Installing frontend dependencies: Done.
  • Compiling frontend: Done.

merlinaudio avatar Dec 29 '22 12:12 merlinaudio

Same thing happened to me, but I think Wails is using the new CLI even though it says v2.2.0, because I see some new debug outputs in the console (Some even has emoji which v2.2.0 doesn't have).

KiddoV avatar Dec 29 '22 13:12 KiddoV

Yeah, it's definitely using the new CLI. I'm getting this message:

 INFO  Wails is now using the new Go WebView2Loader.
If you encounter any issues with it, please report them to https://github.com/wailsapp/wails/issues/2004.
You could also use the old legacy loader with `-tags native_webview2loader`,
but keep in mind this will be deprecated in the near future.

merlinaudio avatar Dec 29 '22 13:12 merlinaudio

Looks like something weird happened as part of the release. Will tag v2.3.1 in the morning which should fix it

leaanthony avatar Dec 29 '22 13:12 leaanthony

v2.3.1 has been released.

stffabi avatar Dec 29 '22 21:12 stffabi