Kaynağa Gözat

prepare next version

pull/342/head
Guillaume Vincent 7 yıl önce
ebeveyn
işleme
f732208ff8
4 değiştirilmiş dosya ile 8 ekleme ve 21 silme
  1. +0
    -5
      build.sh
  2. +3
    -3
      config.xml
  3. +3
    -2
      package.json
  4. +2
    -11
      readme.md

+ 0
- 5
build.sh Dosyayı Görüntüle

@@ -1,10 +1,5 @@
#!/usr/bin/env bash


rm -rf plateforms/android
npm run build
./node_modules/.bin/cordova clean

cp www/icons/mipmap-hdpi/icon.png platforms/android/res/mipmap-hdpi/icon.png
cp www/icons/mipmap-ldpi/icon.png platforms/android/res/mipmap-ldpi/icon.png
cp www/icons/mipmap-mdpi/icon.png platforms/android/res/mipmap-mdpi/icon.png


+ 3
- 3
config.xml Dosyayı Görüntüle

@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.lesspass.android" version="2.0.3" android-versionCode="20003" xmlns="http://www.w3.org/ns/widgets"
<widget id="com.lesspass.android" version="2.0.4" android-versionCode="20004" xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>LessPass</name>
<description>
@@ -13,8 +13,8 @@
<!--<preference name="SplashScreenDelay" value="2000"/>-->
<preference name="SplashScreen" value="screen"/>

<plugin name="cordova-plugin-whitelist" spec="~1.3.1"/>
<plugin name="cordova-plugin-splashscreen" spec="~4.0.1"/>
<plugin name="cordova-plugin-whitelist" spec="~1.3.2"/>
<plugin name="cordova-plugin-splashscreen" spec="~4.0.2"/>
<preference name="ShowSplashScreenSpinner" value="false"/>

<access origin="*"/>


+ 3
- 2
package.json Dosyayı Görüntüle

@@ -6,8 +6,9 @@
"author": "Guillaume Vincent <guillaume@oslab.fr>",
"repository": "lesspass/cordova",
"scripts": {
"prebuild": "npm prune && npm install && gulp",
"build": "rm -rf www/dist/ && gulp"
"prebuild": "npm prune && npm install",
"clean":"rm -rf plateforms/android && rm -rf www/dist/ && cordova clean",
"build": "npm run clean && gulp && ./build.sh"
},
"dependencies": {
"lesspass-pure": "^4.5.3"


+ 2
- 11
readme.md Dosyayı Görüntüle

@@ -1,25 +1,16 @@
> LessPass Cordova App for [lesspass.com](https://lesspass.com)

## requirements
## Check everything ok

./node_modules/.bin/cordova requirements

## add Cordova platform
## Add Android platform

./node_modules/.bin/cordova platform add android

## Test

./node_modules/.bin/cordova emulate android

## Build

./build.sh

## Run
./node_modules/.bin/cordova run android
## Build Release



Yükleniyor…
İptal
Kaydet