File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,10 @@ def getAppResourcesDirectory = { ->
76
76
if (nsConfigFile. exists()) {
77
77
def nsConfigJsonContent = new JsonSlurper (). parseText(nsConfigFile. getText(" UTF-8" ))
78
78
79
- if (nsConfigJsonContent. app_resources != null ) {
80
- pathToAppResources = java.nio.file.Paths . get(USER_PROJECT_ROOT ). resolve(nsConfigJsonContent. app_resources). toAbsolutePath()
79
+ if (nsConfigJsonContent. appResourcesPath != null ) {
80
+ pathToAppResources = java.nio.file.Paths . get(USER_PROJECT_ROOT ). resolve(nsConfigJsonContent. appResourcesPath). toAbsolutePath()
81
+ } else if (nsConfigJsonContent. appPath != null ) {
82
+ pathToAppResources = java.nio.file.Paths . get(USER_PROJECT_ROOT ). resolve(nsConfigJsonContent. appPath). toAbsolutePath()
81
83
}
82
84
}
83
85
You can’t perform that action at this time.
0 commit comments