Commit 38881e3e authored by Eric Eastwood's avatar Eric Eastwood

Update to nw.js 0.12.3

parent dfdfa589
Gitter Desktop Client
=====================
# Gitter Desktop Client
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gitterHQ/desktop?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/gitterHQ/desktop.svg?branch=master)](https://travis-ci.org/gitterHQ/desktop)
This is the desktop client for Linux, Windows and Mac OSX.
Latest Builds
-------------
## Latest Builds
For the official downloads, please visit [https://gitter.im/apps](https://gitter.im/apps).
Running The Development Version
-------------------------------
## Running The Development Version
The Gitter Desktop client is written using [NW.js](http://nwjs.io/), but the only prerequisite is [node.js](http://nodejs.org/download) for your platform and npm 3+.
......@@ -24,8 +21,8 @@ The Gitter Desktop client is written using [NW.js](http://nwjs.io/), but the onl
* windows cmd: `set OAUTH_KEY=yourkey && set OAUTH_SECRET=yoursecret && npm start`
* alternatively, put your keys and secrets in `nwapp/oauth.json`
Tray Icon on Ubuntu
-------------------
## Tray Icon on Ubuntu
To see the Gitter tray icon run:
```
......@@ -36,8 +33,8 @@ sudo apt-get upgrade
More info [here](http://ubuntuforums.org/showthread.php?t=2217458).
Enabling Logging on Windows
---------------------------
## Enabling Logging on Windows
1. Install [Sawbuck](https://code.google.com/p/sawbuck/). This tool will capture logs for all chrome-based applications.
2. Add "Content Shell" to your list of Providers in Sawbuck by adding these registry entries to your machine (NOTE the optional Wow6432Node key for x64 machines):
1. Find: `HKLM\SOFTWARE\[Wow6432Node\]Google\Sawbuck\Providers`
......@@ -46,7 +43,7 @@ Enabling Logging on Windows
* Key: `(Default)`, Type: `REG_SZ`, Value: `Content Shell`
* Key: `default_flags`, Type: `REG_DWORD`, Value: `00000001`
* Key: `default_level`, Type: `REG_DWORD`, Value `00000004`
Alternatively, use [this .reg file](http://cl.ly/1K0R2o1r1K0Z/download/enable-gitter-logging.reg) to do the above for you (in x86) (courtesy of @mydigitalself).
3. Start Sawbuck and go to `Log -> Configure Providers` and change Content Shell's Log Level to `Verbose`. There are additional privacy-related changes that you may wish to make; see [Important Privacy and Security Notice](#important-privacy-and-security-notice), below.
4. Start capturing logs by going to `Log -> Capture`.
......@@ -58,11 +55,14 @@ Sawback captures logging data from **all** running Chrome instances (not just th
To minimize the risk of including sensitive information in a publicly-posted logging session, you are advised to change the `Configure Providers` options such that the `Log Level` value is set to `None` for every Provider *except* for `Content Shell`. *Always* review logs for sensitive information and sanitize as appropriate before posting them publicly.
Releasing the app (win32 and linux32/64)
----------------------------------------
## Releasing the app (win32 and linux32/64)
On osx/linux, you will need to run `brew cask install java xquartz` then `brew install wine`.
1. Build all app artefacts
1. On osx/linux, run `gulp build:linux`
2. On osx/linux, run `gulp cert:fetch:win`
- You will need to setup [AWS CLI](https://aws.amazon.com/cli/) with your credentials `aws configure` (grab from AWS console IME)
3. On windows, mount this project and run `windows/build.bat VERSION` (e.g `windows/build.bat 1.2.3`)
4. On osx/linux, run `gulp autoupdate:zip:win`
4. On osx/linux, run `gulp autoupdate:zip:osx`
......@@ -91,7 +91,7 @@ Releasing the app (win32 and linux32/64)
* `gulp redirect:push:linux64`
3. on osx/linux, publish the autoupdate manifest by running `gulp manifest:push`
License
-------
## License
MIT
......@@ -14,7 +14,7 @@ var path = require('path');
var rimraf = require('rimraf');
var manifest = require('./package.json');
var template = require('lodash.template');
var Builder = require('node-webkit-builder');
var Builder = require('nw-builder');
var appmanifest = require('./nwapp/package.json');
var LATEST_HTML_TEMPLATE = template(fs.readFileSync('./latest-template.html').toString());
......
{
"name": "gitter-desktop",
"version": "0.0.1",
"nwversion": "0.11.6",
"description": "Gitter node-webkit builder",
"nwversion": "0.12.3",
"description": "Gitter nw.js builder",
"main": "index.js",
"dependencies": {
"gulp": "^3.8.10",
"gulp-shell": "^0.2.11",
"gulp-util": "^3.0.1",
"lodash.template": "^3.0.1",
"node-webkit-builder": "^1.0.5",
"nw-builder": "^2.2.0",
"semver": "^4.2.0"
},
"devDependencies": {
"nw": "^0.12.3",
"rimraf": "^2.2.8",
"s3": "^4.3.1"
},
"scripts": {
"postinstall": "(cd nwapp && npm install)",
"build": "gulp build",
"start": "nodewebkit nwapp"
"start": "nw nwapp"
},
"author": "Mauro Pompilio",
"license": "MIT",
"copyright": "copyright flag required by node-webkit-builder",
"devDependencies": {
"nodewebkit": "^0.11.6",
"rimraf": "^2.2.8",
"s3": "^4.3.1"
},
"directories": {
"test": "test"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment