Skip to content

Commit

Permalink
GameJam3 repo
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemanga committed Jun 2, 2018
1 parent 7dbca94 commit e6f8b71
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,12 +377,12 @@ class App {

model.setItem("proxy", this.root.getItem("proxy", ""));

if( !repoURLs )
model.setItem("repoList", {
Eried:"http://arduboy.ried.cl/repo.json",
Crait:"http://www.crait.net/arduboy/repo2.json",
TeamARG:"repo.json"
});
model.setItem("repoList", {
GameJam3:"https://www.arduboy.com/a/GameJam3.json",
Eried:"http://arduboy.ried.cl/repo.json",
Crait:"http://www.crait.net/arduboy/repo2.json",
TeamARG:"repo.json"
});

cb();

Expand Down
9 changes: 5 additions & 4 deletions src/entities/Env.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,22 @@ class Env extends IController {
json.items.forEach( item => {

item.author = item.author || "<<unknown>>";
item.title = item.title || item.name || "Untitled";

if(
item.banner && (
(item.banner||item.cover) && (
!item.screenshots ||
!item.screenshots[0] ||
!item.screenshots[0].filename
))
item.screenshots = [{filename:item.banner}];
item.screenshots = [{filename:(item.banner||item.cover)}];

if( item.arduboy && (
if( (item.arduboy||item.hex) && (
!item.binaries ||
!item.binaries[0] ||
!item.binaries[0].filename
))
item.binaries = [{filename:item.arduboy}]
item.binaries = [{filename:(item.arduboy||item.hex)}];

if( !item.sourceUrl && item.url )
item.sourceUrl = item.url;
Expand Down

0 comments on commit e6f8b71

Please sign in to comment.