Commit 7af85b1f authored by Lei Li's avatar Lei Li
Browse files

feat: 获取路径

parent f16baf1d
...@@ -16,6 +16,17 @@ import ( ...@@ -16,6 +16,17 @@ import (
//export start //export start
func start() { func start() {
dir, err := os.Getwd()
if err != nil {
LogError("MainActivity", dir)
}
LogInfo("MainActivity", dir)
exePath, err := os.Executable()
if err != nil {
LogError("MainActivity", exePath)
}
LogInfo("MainActivity", exePath)
RootDir = GetCurrentDirectory() RootDir = GetCurrentDirectory()
msg := "" msg := ""
for { for {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment