diff --git a/app/package.json b/app/package.json index f15bd3f..d927d35 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "farnsworth-launcher", "productName": "Farnsworth Launcher", - "version": "0.2.3", + "version": "0.2.4", "description": "Fullscreen Application Launcher for TVs", "main": "main.js", "scripts": { @@ -25,7 +25,7 @@ "homepage": "https://bitbucket.org/ikogan/farnsworth#readme", "devDependencies": { "angular-mocks": "^1.5.5", - "electron-prebuilt": "1.2.1" + "electron-prebuilt": "1.4.13" }, "dependencies": { "angular": "^1.5.5", diff --git a/app/ui/scripts/controllers/home.js b/app/ui/scripts/controllers/home.js index b3506d3..0129d0d 100644 --- a/app/ui/scripts/controllers/home.js +++ b/app/ui/scripts/controllers/home.js @@ -405,7 +405,7 @@ angular.module('farnsworth') self.selectedCategory = self.categoryList[self.selectedCategoryIndex]; self.selectedTileIndex = _.findIndex(self.selectedCategory.tiles, function(item) { - return item.name === tile.name; + return item === tile; }); }; diff --git a/package.json b/package.json index 683743e..2a766a1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "farnsworth-launcher", - "version": "0.2.3", + "version": "0.2.4", "description": "Fullscreen Application Launcher for TVs", "main": "main.js", "scripts": { @@ -26,7 +26,7 @@ } }, "devDependencies": { - "electron-builder": "^10.9.2", + "electron-builder": "^10.17.1", "electron-prebuilt": "1.4.13", "rimraf": "^2.5.4" }