Skip to content

Commit 2bb5aca

Browse files
committed
fix humble bundle removal
1 parent 2020af6 commit 2bb5aca

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

docs/games/index.html

+2-7
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,10 @@
142142
e.banner = `https://github.com/ChimeraOS/chimera/raw/master/${e.banner}.png`;
143143
}
144144

145-
// expand store property
146-
if (e.platform === 'steam' && !e.store) {
145+
// set store property
146+
if (e.platform === 'steam') {
147147
e.store = `https://store.steampowered.com/app/${e.id}`;
148148
}
149-
150-
// Humble Bundle ended their affiliate program
151-
//if (e.store && e.store.startsWith('humble:')) {
152-
// e.store = `https://www.humblebundle.com/store/${e.store.slice(7)}?partner=chimera`;
153-
//}
154149
});
155150
},
156151

src/games.mustache

+2-7
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,10 @@ function app() {
109109
e.banner = `https://github.com/ChimeraOS/chimera/raw/master/${e.banner}.png`;
110110
}
111111
112-
// expand store property
113-
if (e.platform === 'steam' && !e.store) {
112+
// set store property
113+
if (e.platform === 'steam') {
114114
e.store = `https://store.steampowered.com/app/${e.id}`;
115115
}
116-
117-
// Humble Bundle ended their affiliate program
118-
//if (e.store && e.store.startsWith('humble:')) {
119-
// e.store = `https://www.humblebundle.com/store/${e.store.slice(7)}?partner=chimera`;
120-
//}
121116
});
122117
},
123118

0 commit comments

Comments
 (0)