wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
25.35k stars 1.22k forks source link

CLI options -skipbindings and -nogen no longer seem to work (v2.3.1, v2.4.1) #2524

Closed Aceix closed 1 year ago

Aceix commented 1 year ago

Description

TS bindings/modules are still generated even when I pass -skipbindings flag to wails dev. -nogen does not work: Error: flag provided but not defined: -nogen

To Reproduce

  1. Create a basic wails project
  2. Run wails dev -skipbindings

Expected behaviour

Start the wails app in dev mode, without trying to generate the Typescript bindings

Screenshots

No response

Attempted Fixes

No response

System Details

aceix@node07:~/proj/netmaker/netclient$ wails doctor
Wails CLI v2.4.1

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

# System

OS           | Ubuntu  
Version      | 22.04   
ID           | ubuntu  
Go Version   | go1.19.6
Platform     | linux   
Architecture | amd64   

# Wails

Version         | v2.4.1
Package Manager | apt   

# Dependencies

Dependency | Package Name          | Status    | Version                
*docker    | docker.io             | Installed | 20.10.21               
gcc        | build-essential       | Installed | 12.9ubuntu3            
libgtk-3   | libgtk-3-dev          | Installed | 3.24.33-1ubuntu2       
libwebkit  | libwebkit2gtk-4.0-dev | Installed | 2.38.5-0ubuntu0.22.04.1
npm        | npm                   | Installed | 8.5.1~ds-1             
*nsis      | nsis                  | Available | 3.08-2                 
pkg-config | pkg-config            | Installed | 0.29.2                 
* - Optional Dependency

# Diagnosis

Your system is ready for Wails development!
Optional package(s) installation details: 
  - nsis: sudo apt install nsis

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

Additional context

No response

stffabi commented 1 year ago

Thanks for using Wails and reporting this issue.

PR #2584 which fixes the skipbindings flag for wails dev has been published.