We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce46d6a commit af05ea9Copy full SHA for af05ea9
pom.xml
@@ -6,7 +6,7 @@
6
<modelVersion>4.0.0</modelVersion>
7
<groupId>info.xiaomo</groupId>
8
<artifactId>g-engine</artifactId>
9
- <version>3.2.4</version>
+ <version>3.2.5</version>
10
11
<properties>
12
<maven.compiler.source>1.8</maven.compiler.source>
src/main/java/info/xiaomo/gengine/utils/PathUtil.java
@@ -8,8 +8,8 @@ public class PathUtil {
/** 获取项目目录下的game-conf文件夹目录 */
public static String getConfigPath() {
- String path = PathUtil.class.getResource("/").getPath();
- return findPath(new File(path + "game-conf")) + "/";
+ String path = System.getProperty("user.dir");
+ return findPath(new File(path + "/game-conf")) + "/";
13
}
14
15
/**
0 commit comments