fix multi apps
This commit is contained in:
@@ -34,13 +34,20 @@
|
||||
{
|
||||
"type": "execute",
|
||||
"parameters": {
|
||||
"command": ["mkdir", "-p", "/home/user/Projects"]
|
||||
"command": [
|
||||
"mkdir",
|
||||
"-p",
|
||||
"/home/user/Projects"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"command": ["nautilus", "/home/user/Projects"]
|
||||
"command": [
|
||||
"nautilus",
|
||||
"/home/user/Projects"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -90,32 +97,52 @@
|
||||
"rules": {
|
||||
"expect": [
|
||||
{
|
||||
"key": ["name"],
|
||||
"key": [
|
||||
"name"
|
||||
],
|
||||
"method": "eq",
|
||||
"ref": "happy-extension"
|
||||
},
|
||||
{
|
||||
"key": ["version"],
|
||||
"key": [
|
||||
"version"
|
||||
],
|
||||
"method": "eq",
|
||||
"ref": "0.0.1"
|
||||
},
|
||||
{
|
||||
"key": ["background", "scripts"],
|
||||
"key": [
|
||||
"background",
|
||||
"scripts"
|
||||
],
|
||||
"method": "eq",
|
||||
"ref": ["background_script.js"]
|
||||
"ref": [
|
||||
"background_script.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": ["browser_action", "default_icon"],
|
||||
"key": [
|
||||
"browser_action",
|
||||
"default_icon"
|
||||
],
|
||||
"method": "eq",
|
||||
"ref": {"64": "icons/icon.png"}
|
||||
"ref": {
|
||||
"64": "icons/icon.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": ["browser_action", "default_popup"],
|
||||
"key": [
|
||||
"browser_action",
|
||||
"default_popup"
|
||||
],
|
||||
"method": "eq",
|
||||
"ref": "browserAction/index.html"
|
||||
},
|
||||
{
|
||||
"key": ["browser_action", "default_title"],
|
||||
"key": [
|
||||
"browser_action",
|
||||
"default_title"
|
||||
],
|
||||
"method": "eq",
|
||||
"ref": "happy-extension"
|
||||
}
|
||||
@@ -144,4 +171,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user