kopia lustrzana https://github.com/c9/core
fixes for local version on windows
rodzic
f8b88cf4f2
commit
d7e1364be9
|
@ -247,7 +247,7 @@ define(function(require, exports, module) {
|
|||
fsCache.model.getTooltipText = function(node) {
|
||||
var size = node.size;
|
||||
return node.label + (node.link ? " => " + node.link + "\n" : "")
|
||||
+ (size ? " | " + (
|
||||
+ (size && !node.isFolder ? " | " + (
|
||||
size < 0x400 ? size + " bytes" :
|
||||
size < 0x100000 ? (size / 0x400).toFixed(2) + "KB" :
|
||||
(size / 0x100000).toFixed(2) + "MB"
|
||||
|
|
|
@ -71,13 +71,15 @@ fi
|
|||
|
||||
if [ "$os" == "windows" ]; then
|
||||
NODE_VERSION=v0.12.2
|
||||
NW_VERSION=v0.12.1
|
||||
|
||||
NW_VERSION=v0.12.2
|
||||
# TODO find a more reliable place to put c9 dependencies
|
||||
HOME="$HOMEDRIVE$HOMEPATH"
|
||||
pushd build
|
||||
if [ ! -f "$HOME/.c9/"node.exe ]; then
|
||||
if [ ! -f "$HOME/.c9/"node.exe ] || [ ! -d "$HOME/.c9/"msys ]; then
|
||||
echo "downloading node"
|
||||
pushd "$HOME/.c9/"
|
||||
curl -OL http://nodejs.org/dist/$NODE_VERSION/node.exe
|
||||
curl -L https://raw.githubusercontent.com/cloud9ide/sdk-deps-win32/master/install.sh | bash
|
||||
# bash $SOURCE/../sdk-deps-win32/install.sh # for testing
|
||||
popd
|
||||
fi
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue