File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " jetpp" ,
3- "version" : " 0.1.1 " ,
3+ "version" : " 0.1.4 " ,
44 "main" : " index.js" ,
55 "author" : " Vincent Chan" ,
66 "license" : " MIT" ,
77 "bin" : {
88 "jetpp" : " ./index.js"
9+ },
10+ "scripts" : {
11+ "install" : " node scripts/download_lib.js"
912 }
1013}
Original file line number Diff line number Diff line change @@ -14,10 +14,13 @@ const downloadChecksumUrl = name => `${downloadUrl(name)}.SHA256`;
1414
1515const libsName = [
1616 'jetpp.node' ,
17- 'libjetpackd.dylib' ,
18- 'libjemalloc.2.dylib' ,
1917] ;
2018
19+ if ( platform === 'darwin' ) {
20+ libsName . push ( 'libjetpackd.dylib' ) ;
21+ libsName . push ( 'libjemalloc.2.dylib' ) ;
22+ }
23+
2124function getDownloadPath ( name ) {
2225 const tmpDir = os . tmpdir ( ) ;
2326 const projectDir = path . join ( tmpDir , version , 'jetpack-node' ) ;
You can’t perform that action at this time.
0 commit comments