EwenQuim / renpy-graphviz

Draws a flowchart graph of any Visual Novel from Renpy .rpy files !
https://ewenquim.github.io/renpy-graphviz/
GNU Affero General Public License v3.0
124 stars 3 forks source link

Cant build Desktop. Maybe a wails version mismatch ? #73

Open gedw99 opened 1 month ago

gedw99 commented 1 month ago

I cant build from the desktop folder. I suspect it's a wails version mismatch.

apple@192 desktop % go install github.com/wailsapp/wails/v2/cmd/wails@latest
go: downloading github.com/wailsapp/wails/v2 v2.9.1
go: downloading atomicgo.dev/cursor v0.1.1
go: downloading atomicgo.dev/keyboard v0.2.8
apple@192 desktop % wails dev
Wails CLI v2.9.1

Updated go.mod to use Go '1.20'
Updating go.mod to use Wails 'v2.9.1'
Executing: go mod tidy
  • Generating bindings: 
  ERROR   
          main.go:21:12: pattern build/appicon.png: no matching files found

          exit status 1
 ♥   If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
apple@192 desktop % wails build
Wails CLI v2.9.1

# Build Options

Platform(s)        | darwin/arm64                                                      
Compiler           | /opt/homebrew/bin/go                                              
Skip Bindings      | false                                                             
Build Mode         | production                                                        
Devtools           | false                                                             
Frontend Directory | /Users/apple/workspace/go/src/junk/renpy-graphviz/desktop/frontend
Obfuscated         | false                                                             
Skip Frontend      | false                                                             
Compress           | false                                                             
Package            | true                                                              
Clean Bin Dir      | false                                                             
LDFlags            |                                                                   
Tags               | []                                                                
Race Detector      | false                                                             

# Building target: darwin/arm64

  • Generating bindings:   ERROR   
          main.go:21:12: pattern build/appicon.png: no matching files found

          exit status 1

  ERROR   
          main.go:21:12: pattern build/appicon.png: no matching files found

          exit status 1
 ♥   If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
gedw99 commented 1 month ago

ah. v2.0.0 is need according to README.md...

apple@192 desktop % go install github.com/wailsapp/wails/v2/cmd/wails@v2.0.0
apple@192 desktop % wails dev                                               
Wails CLI v2.0.0

ERROR: :5: unknown directive: toolchain

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

apple@192 desktop % wails build
Wails CLI v2.0.0

App Type:       desktop
Platforms:      darwin/arm64
Compiler:       /opt/homebrew/bin/go
Skip Bindings:      false
Build Mode:         Production
Obfuscated:         false
Skip Frontend:      false
Compress:       false
Package:        true
Clean Build Dir:    false
LDFlags:        ""
Tags:           []
Race Detector:      false

ERROR: :5: unknown directive: toolchain

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