ee9b8b6a by astaxie

fix when in linux system not in the app dir

1 parent 5cf52e2c
Showing 1 changed file with 1 additions and 0 deletions
......@@ -42,6 +42,7 @@ var (
)
func init() {
os.Chdir(path.Dir(os.Args[0]))
BeeApp = NewApp()
AppPath, _ = os.Getwd()
StaticDir = make(map[string]string)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!