-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary files Fix updating apps from cache to database
- Loading branch information
Showing
7 changed files
with
95 additions
and
8,498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# Enter Working Dir (shall be project root) | ||
prevDir=$(pwd) | ||
cd "$1" | ||
|
||
# Electron's version. | ||
export npm_config_target=$(electron -v | cut -c 2-) | ||
# The architecture of Electron, can be ia32 or x64. | ||
export npm_config_arch=x64 | ||
# Download headers for Electron. | ||
export npm_config_disturl=https://atom.io/download/atom-shell | ||
# Tell node-pre-gyp that we are building for Electron. | ||
export npm_config_runtime=electron | ||
# Tell node-pre-gyp to build module from source code. | ||
export npm_config_build_from_source=true | ||
# Install all dependencies | ||
npm install | ||
|
||
cd $prevDir |
Oops, something went wrong.