fix get resource path
Merge branch 'hotfix/fix-generate-resource-path'