File tree Expand file tree Collapse file tree 5 files changed +14
-15
lines changed
assets/screenshots/v0.1.2 Expand file tree Collapse file tree 5 files changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ This is a GUI for running React Native commands. It is built with electron so it
88v0.1.2 is out! Choose your weapon.
99
1010
11- [ <img alt =" Mac " src =" http://clinsite.com/wp-content/uploads/2017/01/Apple-logo-120x120.png " />] ( https://drive.google.com/open?id=12GdTnRph5DMrAj5b8Kmntykm0lXbOcT- )
11+ [ <img alt =" Mac " src =" http://clinsite.com/wp-content/uploads/2017/01/Apple-logo-120x120.png " />] ( https://drive.google.com/open?id=10mNTPIkciCO3VkkUY_HjCLORsRZDc3lJ )
1212[ <img alt =" Windows " src =" https://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Windows_logo_-_2012_derivative.svg/120px-Windows_logo_-_2012_derivative.svg.png " />] ( http://google.es )
1313[ <img alt =" Linux " src =" http://www.linuxscrew.com/wp-content/uploads/2007/11/120px-crystal_128_penguin.png " />] ( https://drive.google.com/open?id=1F5Luv13r9QkX8MDCqUN1NtyPN3FFHKaQ )
1414
1515# Screenshots
1616
1717## Home screen
1818
19- ![ Home] ( https://raw.githubusercontent.com/co2-git/ReactNative/master/assets/screenshots/v0.1.1 /Home.png )
19+ ![ Home] ( https://raw.githubusercontent.com/co2-git/ReactNative/master/assets/screenshots/v0.1.2 /Home.png )
2020
2121## Init app
2222
Original file line number Diff line number Diff line change 22import React , { PureComponent } from 'react' ;
33import { Card , CardHeader , CardActions } from 'material-ui/Card' ;
44import path from 'path' ;
5- import Chip from 'material-ui/Chip' ;
5+ import RaisedButton from 'material-ui/RaisedButton' ;
6+ import CloseIcon from 'material-ui/svg-icons/navigation/close' ;
67
78import Animated from '../Base/Animated' ;
9+ import { closeApp } from '../../redux/actions/appsActions' ;
810
911type $AppCardOwnProps = {
1012 app : $App ,
@@ -30,15 +32,11 @@ class AppCard extends PureComponent<$AppCardProps> {
3032 showExpandableButton = { false }
3133 />
3234 < CardActions >
33- { (
34- this . props . app . info &&
35- this . props . app . info . dependencies &&
36- this . props . app . info . dependencies [ 'react-native' ] && (
37- < Chip >
38- React Native v{ this . props . app . info . dependencies [ 'react-native' ] }
39- </ Chip >
40- )
41- ) }
35+ < RaisedButton
36+ label = "Remove app from list"
37+ icon = { < CloseIcon style = { { marginTop : - 4 } } /> }
38+ onClick = { ( ) => closeApp ( this . props . app ) }
39+ />
4240 </ CardActions >
4341 </ Card >
4442 </ Animated >
Original file line number Diff line number Diff line change 77 "build" : " bash scripts/build.sh $npm_package_name $npm_package_version" ,
88 "build:osx" : " yarn build darwin" ,
99 "build:linux" : " yarn build linux" ,
10- "build:windows" : " yarn build win32"
10+ "build:windows" : " yarn build win32" ,
11+ "build:all" : " npm-run-parallel build:osx build:linux build:windows"
1112 },
1213 "dependencies" : {
1314 "babel-polyfill" : " ^6.26.0" ,
Original file line number Diff line number Diff line change 22APP_NAME=" $1 "
33APP_VERSION=" $2 "
44PLATFORM=${3:- all}
5- ELECTRON_VERSION=1.7.0
5+ ELECTRON_VERSION=1.8.4
66
77electron-packager . $APP_NAME \
88 --electron-version=$ELECTRON_VERSION \
99 --platform=$PLATFORM \
1010 --version=$ELECTRON_VERSION \
1111 --icon=assets/icons/icon \
1212 --out=release/$APP_VERSION \
13- --ignore=release
13+ --ignore=release \
1414 --ignore=assets/screenshots
You can’t perform that action at this time.
0 commit comments