diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index ca910f2..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,31 +0,0 @@ -# Change Log -All notable changes to this project [will be documented](http://keepachangelog.com/) in this file. -This project *tries to* adhere to [Semantic Versioning](http://semver.org/). - -## [0.9.0] - 2016-08-24 -- Add optional config and icon CLI args (#32) -- Added Windows SplashScreenPhone sizes (#31) -- Use `fs-extra` instead of `wrench` (#30) -- Ability to choose output for xcode-related images - -## [0.8.0] -- (*Please ignore this version*) - -## [0.7.1] - 2016-04-21 -- iOS: Cleanup sizes (8a6f76e) -- Android: Add xxhdpi & xxxhdpi (3739f62) - -## [0.7.0] - 2016-04-13 -- Use wrench to prevent issues with directory creation (6b0da63) - -## [0.6.0] - 2016-03-26 -- *Ahem, nothing?* - -## [0.5.1] - 2016-03-11 -- iOS: Get back sizes from previous version of the repo (eb65d2d) - -## [0.5.0] - 2016-03-09 -- Add various things that will help to maintain the project (editorconfig, guidelines, changelog...) -- iOS: add missing sizes (5132435) -- Windows: add missing sizes (65c2c67) -- Minor changes diff --git a/README.md b/README.md index ae2772c..5778f0d 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ The splash screen image should be 2208x2208 px with a center square of about 120 $ sudo npm install cordova-splash -g +If you are using an older version of cordova (before 7.x): + + $ sudo npm install cordova-splash@0.12.0 -g + ### Requirements - ImageMagick installed (*Mac*: `brew install imagemagick`, *Debian/Ubuntu*: `sudo apt-get install imagemagick`, *Windows*: [See here, install "Legacy tools"](http://www.imagemagick.org/script/binary-releases.php#windows)) diff --git a/index.js b/index.js index 5f15206..2ce0268 100644 --- a/index.js +++ b/index.js @@ -55,7 +55,7 @@ var getPlatforms = function (projectName) { platforms.push({ name : 'android', isAdded : fs.existsSync('platforms/android'), - splashPath : 'platforms/android/res/', + splashPath : 'platforms/android/app/src/main/res/', splash : [ // Landscape { name: 'drawable-land-ldpi/screen.png', width: 320, height: 200 }, diff --git a/package.json b/package.json index e8acc4e..e89c810 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-splash", - "version": "0.12.0", + "version": "1.0.0", "description": "Automatic splash screen cropping for Cordova", "main": "index.js", "preferGlobal": true,