我在构建 .click 包(属于 Ubuntu Phone 范围)时遇到错误:
错误:“my-scope”不是目录
知道这是什么意思吗?谢谢!
答案1
解决了。原来,“scope”对应的值应该指定一个目录:
"hooks": { "my-scope": { "apparmor": "my-scope.apparmor", "scope": "my-scope" } },
我改为"scope": "my-scope"
指定"scope": "."
当前目录:
"hooks": { "my-scope": { "apparmor": "my-scope.apparmor", "scope": "." } },
我的 .click 包现已构建并安装!