Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update copyApp.js from philipp #469

Merged
merged 1 commit into from Sep 14, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

fix: update copyApp.js from philipp

  • Loading branch information...
ryanio authored and marcgarreau committed Sep 10, 2019
commit ca9afab77a9fdf0ed04fd621b99ae5a80d2c614e
@@ -4,17 +4,17 @@
const { getShippedGridUiPath } = require('../utils/main/util')
const { AppManager } = require('@philipplgh/electron-app-manager')

const GRID_UI_CACHE = getShippedGridUiPath()

const updater = new AppManager({
repository: 'https://github.com/ethereum/grid-ui',
auto: false
auto: false,
cacheDir: GRID_UI_CACHE
})

const GRID_UI_CACHE = getShippedGridUiPath()

;(async function() {
const latest = await updater.getLatestRemote()
await updater.download(latest, {
targetDir: GRID_UI_CACHE,
writeDetachedMetadata: false
await updater.clearCache()
await updater.getLatest({
download: true
})
})()
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.