zserge / lorca

Build cross-platform modern desktop apps in Go + HTML5
MIT License
8k stars 532 forks source link

how to add go rod into lorca to automatically downlaod chromium and load url on chromium #178

Open passerbyo opened 2 years ago

passerbyo commented 2 years ago

https://github.com/go-rod/rod

passerbyo commented 2 years ago

refer to go rod, let lorca automatically detect system includes chromium or not ,if it does not include,just aumatically download chromium.And then load url as ui on chromium.Possible to make function like this

ysmood commented 1 year ago

FYI:

https://github.com/go-rod/rod/blob/f5250379003648c7b65b929d51d43f0da67ca88b/lib/launcher/launcher.go#L140-L141