function uninstall() {
    platforms_1.default.removeFromTrustStores(constants_1.rootCACertPath);
    platforms_1.default.deleteProtectedFiles(constants_1.domainsDir);
    platforms_1.default.deleteProtectedFiles(constants_1.rootCADir);
    platforms_1.default.deleteProtectedFiles(constants_1.getLegacyConfigDir());
}
/**
 * Remove as much of the devcert files and state as we can. This is necessary
 * when generating a new root certificate, and should be available to API
 * consumers as well.
 *
 * Not all of it will be removable. If certutil is not installed, we'll leave
 * Firefox alone. We try to remove files with maximum permissions, and if that
 * fails, we'll silently fail.
 *
 * It's also possible that the command to untrust will not work, and we'll
 * silently fail that as well; with no existing certificates anymore, the
 * security exposure there is minimal.
 */
Remove as much of the devcert files and state as we can. This is necessary
when generating a new root certificate, and should be available to API
consumers as well.

Not all of it will be removable. If certutil is not installed, we'll leave
Firefox alone. We try to remove files with maximum permissions, and if that
fails, we'll silently fail.

It's also possible that the command to untrust will not work, and we'll
silently fail that as well; with no existing certificates anymore, the
security exposure there is minimal.
Remove as much of the devcert files and state as we can . This is necessary when generating a new root certificate and should be available to API consumers as well . Not all of it will be removable . If certutil is not installed we ' ll leave Firefox alone . We try to remove files with maximum permissions and if that fails we ' ll silently fail . It ' s also possible that the command to untrust will not work and we ' ll silently fail that as well ; with no existing certificates anymore the security exposure there is minimal .
function uninstall() {
    platforms_1.default.removeFromTrustStores(constants_1.rootCACertPath);
    platforms_1.default.deleteProtectedFiles(constants_1.domainsDir);
    platforms_1.default.deleteProtectedFiles(constants_1.rootCADir);
    platforms_1.default.deleteProtectedFiles(constants_1.getLegacyConfigDir());
}
function uninstall ( ) { platforms_1 . default . removeFromTrustStores ( constants_1 . rootCACertPath ) ; platforms_1 . default . deleteProtectedFiles ( constants_1 . domainsDir ) ; platforms_1 . default . deleteProtectedFiles ( constants_1 . rootCADir ) ; platforms_1 . default . deleteProtectedFiles ( constants_1 . getLegacyConfigDir ( ) ) ; }
Remove as much of the devcert files and state as we can.
Remove as much of the devcert files and state as we can .