diff --git a/src/com/netease/dagger/GlobalSettings.java b/src/com/netease/dagger/GlobalSettings.java index 01fa78b..7d01d29 100644 --- a/src/com/netease/dagger/GlobalSettings.java +++ b/src/com/netease/dagger/GlobalSettings.java @@ -38,7 +38,7 @@ public class GlobalSettings { public static String timeout = prop.getProperty("Timeout", "30000"); - public static String baseStorageUrl = prop.getProperty("baseStorageUrl", (new File("screenshot")).getParent()); + public static String baseStorageUrl = prop.getProperty("baseStorageUrl", System.getProperty("user.dir")); public static String getProperty(String property) { return prop.getProperty(property); @@ -55,4 +55,4 @@ public static Properties getProperties() { } return prop; } -} \ No newline at end of file +}