From 4f60554327dd077313d8b2e6e54222206a867df0 Mon Sep 17 00:00:00 2001 From: nightwing Date: Wed, 11 Mar 2015 17:26:03 +0400 Subject: [PATCH] use ~/.c9 instead of appdir on mac --- local/server.js | 2 +- settings/local.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/local/server.js b/local/server.js index ac7c4a62..707e8137 100644 --- a/local/server.js +++ b/local/server.js @@ -23,7 +23,7 @@ var SAFE_PORTS = [2222, 2310, 3000, 3001, 3030, 3210, 3333, 4000, 4001, 7777, 8000, 8001, 8003, 8031, 8080, 8081, 8765, 8777, 8888, 9000, 9001, 9080, 9090, 9876, 9877, 9999, 49221]; -var installPath = process.platform == "darwin" +var installPath = process.platform == "dar-win" // disabled for sdk ? "/Library/Application Support/Cloud9" : join(process.env.HOME, ".c9"); diff --git a/settings/local.js b/settings/local.js index e10b625d..a04636db 100644 --- a/settings/local.js +++ b/settings/local.js @@ -3,7 +3,7 @@ module.exports = function(manifest, installPath, settingDir) { var fs = require("fs"); if (typeof installPath != "string") { - installPath = process.platform == "darwin" + installPath = process.platform == "darwin" && false // disabled for sdk ? "/Library/Application Support/Cloud9" : path.join(process.env.HOME, ".c9"); }