{
  "name": "app-template",
  "version": "1.0.0",
  "dependencies": {
    "electron-packager": "~5.0.1",
    "electron-builder": "~2.0.0",
    "less": "~1.7.0"
  },
  "scripts": {
    "clean": "npm run clean:osx && npm run clean:win",
    "clean:osx": "rm Lunchbox.dmg",
    "clean:win": "rm \"Lunchbox Setup.exe\"",

  	"build": "npm run clean && npm run build:osx && npm run build:win",
    "build:osx": "electron-packager www Lunchbox --platform=darwin --arch=x64 --version=0.30.1 --icon=www/img/icon-lunchbox.icns --overwrite --out electron",
    "build:win": "electron-packager www Lunchbox --platform=win32 --arch=ia32 --version=0.30.1 --icon=www/img/icon-lunchbox.ico --overwrite --out electron",

    "pack": "npm run build && npm run pack:osx && npm run pack:win",
    "pack:osx": "electron-builder electron/Lunchbox-darwin-x64/Lunchbox.app --platform=osx --config=packager-config.json",
    "pack:win": "electron-builder electron/Lunchbox-win32-ia32 --platform=win --config=packager-config.json"
  }
}

{
  "name": "app-template",
  "version": "1.0.0",
  "dependencies": {
    "electron-packager": "~5.0.1",
    "electron-builder": "~2.0.0",
    "less": "~1.7.0"
  },
  "scripts": {
    "clean": "npm run clean:osx && npm run clean:win",
    "clean:osx": "rm Lunchbox.dmg",
    "clean:win": "rm \"Lunchbox Setup.exe\"",

  	"build": "npm run clean && npm run build:osx && npm run build:win",
    "build:osx": "electron-packager www Lunchbox --platform=darwin --arch=x64 --version=0.30.3 --icon=www/img/icon-lunchbox.icns --overwrite --out electron",
    "build:win": "electron-packager www Lunchbox --platform=win32 --arch=ia32 --version=0.30.3 --icon=www/img/icon-lunchbox.ico --overwrite --out electron",

    "pack": "npm run build && npm run pack:osx && npm run pack:win",
    "pack:osx": "electron-builder electron/Lunchbox-darwin-x64/Lunchbox.app --platform=osx --config=packager-config.json",
    "pack:win": "electron-builder electron/Lunchbox-win32-ia32 --platform=win --config=packager-config.json"
  }
}

Update the electron target to 0.30.3.
Update the electron target to 0.30.3.

On my system this changes the default downloads directory from a hidden
directory in Application Support to ~/Documents.

refs #57


Former-commit-id: 4386cba1d25da47bd09a8b38f61d70f1aea26b01