const fs = require('fs'); const content = fs.readFileSync('g:/ZClaw/desktop/src/components/Settings/Privacy.tsx', 'utf8'); fs.writeFileSync('g:/ZClaw/desktop/src/components/Settings/Privacy.tsx', content.substring(0, content.lastIndexOf('
')) + '
隐私政策 用户协议
); } function Toggle({ checked, onChange }: { checked: boolean; onChange: (v: boolean) => void }) { return ( ); } ');