evan-buss / openbooks

Search and Download eBooks
https://evan-buss.github.io/openbooks/
MIT License
1.78k stars 58 forks source link

Add "Desktop Mode" as the default. #88

Closed evan-buss closed 2 years ago

evan-buss commented 2 years ago

Double clicking the executable will now start the server and open the browser. Some users don't have experience using the terminal and this makes it easier to get started.

In the future this command may open a "webview" that appears to be a native desktop application without opening the browser. The code to do this is already included but not enabled by default due to complication in cross compiling CGO code.

To build a version for yourself with the webview instead of just opening the default browser:

go build -tags webview