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 = { ->
7676 if (nsConfigFile. exists()) {
7777 def nsConfigJsonContent = new JsonSlurper (). parseText(nsConfigFile. getText(" UTF-8" ))
7878
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()
8183 }
8284 }
8385
You can’t perform that action at this time.
0 commit comments