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

Commit

Permalink
Kelp UI: fix windows bash execution (#395)
Browse files Browse the repository at this point in the history
* exec program

* get specific string output

* server_amd64.go should use current directory as base directory instead of using binaryDirectory as base

* force usage of unix filepath everywhere, even on non-unix systems since we use bash in kelpos

* gitignore .kelp folder

* don't use explicit unix filepath for logFilepath since that uses os.Open directly

* kelp-start.bat no longer needs the make the directories manually

* use binary directory for setting log file

* don't write tailfile for windows as it's not used

* use correct trayIconPath

* fix call to writeTrayIcon

* add quotes around full zipCmd

* fix paths to download, unzip, and run ccxt binary

* extract out unzipping of ccxt from download as a seprate check

* zip command is a single one-liner command because of the cd business

* guiWeb should use absolute unix path to avoid having to run from base kelp dir

* update guiBuildDir for dev mode since server now runs from the bin directory in dev mode

* fix configsDir and logsDir in APIServer

* currentDirUnix should be exxplicitly converted to a unix style path

* fix unix filepath for currentDirUnix

* remove exec folder
  • Loading branch information
nikhilsaraf authored Apr 5, 2020
1 parent 7172911 commit ec74f1b
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 97 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ vendor/
.vscode/
build/
bin/
.kelp/
.idea
gui/filesystem_vfsdata.go
kelp.prefs
Expand Down
Loading

0 comments on commit ec74f1b

Please sign in to comment.