Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Fixed requirement for steamgrid key to access the store
Browse files Browse the repository at this point in the history
  • Loading branch information
SushyDev committed Dec 19, 2020
1 parent 8bdd98a commit 1817d24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions app/js/store.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
var searchBox = document.getElementById('searchquery');
var file = localStorage.getItem('listFile');

//If no file or key alert
if (!localStorage.getItem('SGDB_Key')) {
MDCAlert('No Steam Grid Key', 'Please get a SGDB key from their site');
goto('Settings');
} else if (!localStorage.getItem('listFile')) {
//If no file
if (!localStorage.getItem('listFile')) {
MDCAlert('No game list file selected', 'Please download a game list file and select it in the settings');
goto('Settings');
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"homepage": "https://github.com/SushyDev/vapor-store",
"scripts": {
"build": "electron-builder -w",
"start": "electron ."
"start": "electron ."
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1817d24

Please sign in to comment.