        };
                const run = async (command) => {
                    const { errno, stdout, stderr } = await ksu_exec(command);
                    if (errno !== 0) {
                        console.error(`Command failed: ${command}\nStderr: ${stderr}`);
                        throw new Error(stderr || `Command failed with code ${errno}`);
                    }
                    return stdout.trim();
                };
                const updateDnscryptDependentFields = (dnscryptEnabled, ipv