Skip to content

Commit 92c7ba9

Browse files
author
Peng Hu
committed
获取配置文件
1 parent 00b28d3 commit 92c7ba9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package info.xiaomo.gengine.utils;
2+
3+
public class ConfigUtil {
4+
5+
/**
6+
* 获取项目目录下的game-conf文件夹目录
7+
*
8+
* @return
9+
*/
10+
public static String getConfigPath() {
11+
return System.getProperty("user.dir") + "/game-conf";
12+
}
13+
}

0 commit comments

Comments
 (0)