Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
re-add kelp-start.bat file
Browse files Browse the repository at this point in the history
windows cannot run the CLI compiled file by double clicking which is why we need the bat file.

We don't currently compile it as a GUI file because whenever that invokes the bash system command it opens a command prompt which is too often.
  • Loading branch information
nikhilsaraf committed Feb 14, 2021
1 parent 984c8f8 commit 219a557
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions gui/windows-bat-file/kelp-start.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Kelp.exe server
4 changes: 4 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,10 @@ do
env GOOS=$GOOS GOARCH=$GOARCH GOARM=$GOARM go build -ldflags "$DYNAMIC_LDFLAGS" -o $ARCHIVE_DIR_SOURCE_UI/$GOOS-$GOARCH/kelp.exe
check_build_result $?
echo "successful"

echo -n "copying over kelp-start.bat file to the windows build ..."
cp $KELP/gui/windows-bat-file/kelp-start.bat $ARCHIVE_DIR_SOURCE_UI/$GOOS-$GOARCH/
echo "done"

# set paths needed for unzipping the vendor and ccxt files
VENDOR_FILENAME=""
Expand Down

0 comments on commit 219a557

Please sign in to comment.