A helpful lightweight calculator app built with Go for Mac, Windows
DCalc is a helpful lightweight calculator app built with Go for Mac, Windows.
System requirements:
- Go 1.16 or higher
To install DCalc, run the following command in your terminal:
Install wails:
go install github.com/wailsapp/wails/v2/cmd/wails@latest
Clone the repository:
git clone https://github.com/tuanvu0995/dcalc.git
cd DCalc
go mod tidy
To run DCalc in development mode, run the following command in your terminal:
wails dev
To build DCalc, run the following command in your terminal:
wails build --platform <platform>
E.g.:
wails build --platform darwin/arm64
wails build --platform window/amd64
Platform options:
Platform | Description |
---|---|
darwin | MacOS + architecture of build machine |
darwin/amd64 | MacOS 10.13+ AMD64 |
darwin/arm64 | MacOS 11.0+ ARM64 |
darwin/universal | MacOS AMD64+ARM64 universal application |
windows | Windows 10/11 + architecture of build machine |
windows/amd64 | Windows 10/11 AMD64 |
windows/arm64 | Windows 10/11 ARM64 |