Ok i see, i installed the policies in windows manually from here:
https://github.com/mozilla/policy-templates/releases,
but now i have to change something in my manifest.json.
i followed this:
Policies can either be specified using the Group Policy templates
OR
by creating a file called “policies.json”.
1- On Windows, create a directory called “distribution”
where the ( EXE ?? )they mean xpi ? is located and PLACE the file “policies.json” there.
so now i have my file in that folder but how my add-on is going to call/use that file ???
my policies.json contains:
{
"policies": {
"Extensions": {
"Install": ["https://addons.mozilla.org/firefox/downloads/file/1234567/id+fx.xpi",
"C:\Windows\distribution\id+fx.xpi"],
"Uninstall": ["id@hotmail.com"],
"Locked": ["id@hotmail.com"]
}
}
HOW i CALL that policy.json file ???
i resume:
i have my signed xpi in mozilla firefox add-ons,
and the only thing want is, when the add-on is installed, the user CAN’T disable it, it’s Locked !
so for that we use a policy.json file
and after that ???
how my add-on is going to use that file ?