Merge branch 'i18n' of github.com:intnick/lbry-app into i18n

This commit is contained in:
Intnick 2017-05-28 18:39:18 +02:00
commit f72f5a0661
2 changed files with 38 additions and 0 deletions

5
electron.bat Normal file
View file

@ -0,0 +1,5 @@
start /min %~dp0node_modules\.bin\electron app
pause

33
ui/watch.bat Normal file
View file

@ -0,0 +1,33 @@
rmdir %~dp0node_modules /s /q
rmdir %~dp0..\node_modules /s /q
rmdir %~dp0..\app\node_modules /s /q
call yarn install
echo f | xcopy /s /y %~dp0dist %~dp0..\app\dist
call %~dp0node_modules\.bin\node-sass --output %~dp0..\app\dist\css --sourcemap=none %~dp0scss\
start /min %~dp0node_modules\.bin\node-sass --output %~dp0..\app\dist\css --sourcemap=none --watch %~dp0scss\ &
call %~dp0node_modules\.bin\webpack --config webpack.dev.config.js --progress --colors
start /min %~dp0node_modules\.bin\webpack --config webpack.dev.config.js --progress --colors --watch
call yarn build:langs
cp %~dp0build\lang\en.json %~dp0..\app\dist\lang\en.json
cd %~dp0..\app
call yarn install
cd ..\
call yarn install
start /min %~dp0..\node_modules\.bin\electron app
exit 0