diff --git a/package.json b/package.json index e4fe71d88..11e5f708b 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,7 @@ "temp": "^0.8", "theorist": "^1.0", "underscore": "^1.8", - "underscore.string": "^3.0", - "winattr": "1.1.0" + "underscore.string": "^3.0" }, "packageDependencies": {}, "private": true, diff --git a/src/browser/main.coffee b/src/browser/main.coffee index 15e7f3a55..03043bf55 100644 --- a/src/browser/main.coffee +++ b/src/browser/main.coffee @@ -46,9 +46,6 @@ setupConfigDir = (args) -> defaultConfigDir mkdirp.sync(configDirPath) - if process.platform is 'win32' - winattr=require('winattr') - winattr.setSync(configDirPath, {hidden: true}) process.env.NYLAS_HOME = configDirPath diff --git a/src/browser/main.js b/src/browser/main.js index 3e6d7ffe3..8644114ef 100644 --- a/src/browser/main.js +++ b/src/browser/main.js @@ -52,7 +52,7 @@ }; setupConfigDir = function(args) { - var configDirPath, defaultConfigDir, ref, ref1, winattr; + var configDirPath, defaultConfigDir, ref, ref1; if (args.specMode) { defaultConfigDir = path.join(app.getPath('home'), '.nylas-spec'); } else { @@ -60,12 +60,6 @@ } configDirPath = (ref = (ref1 = args.configDirPath) != null ? ref1 : process.env.NYLAS_HOME) != null ? ref : defaultConfigDir; mkdirp.sync(configDirPath); - if (process.platform === 'win32') { - winattr = require('winattr'); - winattr.setSync(configDirPath, { - hidden: true - }); - } process.env.NYLAS_HOME = configDirPath; return configDirPath; };