Skip to content

Instantly share code, notes, and snippets.

@hasparus
Created December 27, 2017 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hasparus/06f00a72f3d45d01a550375e18d89afd to your computer and use it in GitHub Desktop.
Save hasparus/06f00a72f3d45d01a550375e18d89afd to your computer and use it in GitHub Desktop.
const cssPath = "/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css";
const { readFile, writeFile } = require('fs');
readFile(cssPath, 'utf-8', (err, content) => {
if (err) throw err;
writeFile(
cssPath,
content.replace(
/\.editor-container{/g,
'.editor-container{-webkit-font-smoothing: antialiased;'
),
err => {
if (err) throw err;
console.log("Fix successful :)\n");
},
);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment