-
Make sure you the lastest Go installation and environment. Found here
-
Make sure you have the source code by either cloning the repo or downloading the zip file by pressing the green code button.
git clone https://github.com/leon332157/costcalculator.git
-
Extract and cd into the directory
cd costcalculator
-
Automatically install all required dependencies by running
go mod download
-
Build!
go build -x -ldflags="-H windowsgui"
-
Run
costCalculator.exe
-
Either build or download the binary from the release page.
-
When you open the application you will see a window like this:
-
Click the Add Folder button, and select the folder.
-
The application will recursively scan all the files and folders in the selected folder, it will include files with the following pattern
[any]_[integer/decimal].[3 char extension]
-
After scanning, the input files textbox will display all the valid files, using sample files as an example
-
Click "Calculate", the total cost will be displayed in a message box
The textbox will display the corresponding cost for each file, please verify as well.
- Click add folder to add more files. Or use clear files to clear all the files.
In case of an crash or a fatal error, a crash report should be generated at the directory the application is started. Please make an issue with the generated crashlog.