A complete solution for deploying go-stock across platforms
Although go-stock is mainly developed for Windows, it can be run on macOS/Linux by the following methods:
- environmental preparation::
- Install Go language (≥ version 1.18)
- Configure the GCC compilation environment (Linux with build-essential installed, macOS with Xcode command line tools installed)
- Special dependency handling::
- Linux systems may require an additional installation of libgtk-3-dev (Ubuntu) or a similar graphical library.
- macOS needs to be executed in the terminal
xcode-select --installEnsure that the development tool chain is complete
- constructional adjustments::
- modifications
wails.jsonhit the nail on the headplatformThe parameter is the corresponding system identification - utilization
wails build -platform darwin/linuxSpecify target platform for compilation
- modifications
Frequently Asked Questions Solutions:
- Abnormal interface display: Try to set
"window": {"width": 1200}Adjusting the initial window size - Data rights issues: for
~/.go-stockDirectories are given read and write permissions (chmod 755)
This answer comes from the articlego-stock: AI-enabled stock analysis tool, real-time monitoring of self-picked stock quotes and in-depth analysis based on AIThe































