I have been recently working on a project to make a simple download renamer and it worked. However, i just need to append its code to my download manager extension (Ant download manager). When i try to change the background script edge gives error : 'extension might be corrupted' and a repair option with no option to let it work. I tried removing the update_url and replacing it with any other in the manifest.json (editing other files than the background script doesn't elect the error) but still gave the same error when i edited background script.
NOTE: when i load the unpacked source code of the extension, it doesn't function properly.
I thought of changing the path of native host in json manifest to a custom C++ host that would receive the stdin and then send the modified data as stdout to the original native host but this would be a lengthy solution and encounter a lot of errors.
id field in the manifest.json belongs to a verified extension and browsers check installation against that in their database against possible corruption by any means.
your edit will be seen as corruption even if you change the update URL because of this id.
manifest.json and remove app specific things like this id. some may have hash values etc.~/myextensions, or c:\workspace\myextensionsalso check for a _metadata folder and the content inside. there might be related identifiers you need to remove in there.