Some versions of Linux don't have TMPDIR. TMP or TEMP defined. Installing an extension relies on the existence of a temp folder location. Since we are using node-temp (https://github.com/bruce/node-temp) to determine a temp dir location, the node module will resolve to ~/tmp if none of the environment variables exists. If this directoruy doesn't exist, then the install operation will fail.
use double type for file size.
…m/adobe/brackets-shell into couzteau/preview-images-with-size
… the latest version. If there is version 3 installed, it resolves to the the Python 3 interpreter. This change ensures that Python 2 is used. There is no need to install gyp on a Linux machines anymore.
The live development didn't work if the path for the --user-data-dir (passed to Chrome(-ium) commandline didn't exist. Previously a path to /tmp/ ws constructed, but some users reported that this didn't work on their systems. In order to fix this behavior, we now use the appSupportDirectory to store the user data directory. The new location for the user-data-dir is now in ~/.config/Brackets/live-dev-profile. To determine the location of the appSupportDirectory, the call to gtk_init had to be the first when the app starts. This will ensure that g_get_prgname() and g_get_config_dir() will return valid locations.