Nitamet / geemo

📖 League of Legends helper app to import popular builds automatically
GNU Affero General Public License v3.0
1 stars 0 forks source link

Error while running `wails dev` #3

Open hamza-m-masood opened 4 months ago

hamza-m-masood commented 4 months ago

Hi, I get an error when running wails dev on the root of your project. Here is the log I get:

Wails CLI v2.8.0

Executing: go mod tidy
  • Generating bindings: 
  ERROR   
          package github.com/Nitamet/geemo
                imports github.com/Nitamet/geemo/backend/lcu
                imports github.com/Nitamet/geemo/backend/shell: build constraints exclude all Go files in /Users/hamzamasood/projects/desktop-app/examples/geemo/backend/shell

          exit status 1

I already tried running go clean -modcache

versions:

npm: 10.2.4 node: 21.6.1 go: 1.22.1

Nitamet commented 4 months ago

Hi!

It seems you are using MacOS, right?

Package shell contains OS-specific files and uses the //go:build directive to decide which file to build, depending on the current OS. Currently, there are two files: bash.go for Linux and powershell.go for Windows.

Unfortunately, there is no such file for MacOS, because I don't have a device running that OS, so I haven't had a chance to make and test one. That's why you get this error, if my guess is correct.