2018-01-09 07:36:02 +00:00
|
|
|
#!/bin/bash
|
|
|
|
if [ ! -e SheetJSIonic ]; then
|
2021-10-03 01:41:36 +00:00
|
|
|
ionic start SheetJSIonic blank --type angular --cordova --quiet --no-git --no-link --confirm </dev/null
|
2018-01-09 07:36:02 +00:00
|
|
|
cd SheetJSIonic
|
2021-10-03 01:41:36 +00:00
|
|
|
ionic cordova platform add browser --confirm </dev/null
|
|
|
|
ionic cordova platform add ios --confirm </dev/null
|
|
|
|
ionic cordova platform add android --confirm </dev/null
|
2018-01-09 07:36:02 +00:00
|
|
|
ionic cordova plugin add cordova-plugin-file </dev/null
|
2021-10-03 01:41:36 +00:00
|
|
|
npm install --save @ionic-native/core
|
2018-02-03 20:46:32 +00:00
|
|
|
npm install --save @ionic-native/file
|
2022-04-14 07:27:38 +00:00
|
|
|
npm install --save https://cdn.sheetjs.com/xlsx-latest/xlsx-latest.tgz
|
2021-10-03 01:41:36 +00:00
|
|
|
cp ../ionic-app.module.ts src/app/app.module.ts
|
2018-01-09 07:36:02 +00:00
|
|
|
cd -
|
|
|
|
fi
|
|
|
|
|
2021-10-03 01:41:36 +00:00
|
|
|
cp ionic.ts SheetJSIonic/src/app/home/home.page.ts
|