If id changes a warning appears

I’m looking around, but I haven’t found any news on this topic either, maybe I’m not looking in the right place.
I would like to have a warning and block the plugin if someone changes the manifest id.
so the panel can’t be used if this is changed.

Something like this

const manifestInfo = require("./manifest.json");
const manID = manifestInfo.id;
const myID = "com.MyId"; //for security check
if (manID != myID) {
   console.log("manifest id does not match");
//show alert or do whatever you want here if it does not match
}
1 Like

It works like a charm
Thanks