Created
December 27, 2017 13:00
-
-
Save hasparus/06f00a72f3d45d01a550375e18d89afd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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