diff --git a/lib/index.js b/lib/index.js index 58e8eb8e..c9e41e3e 100644 --- a/lib/index.js +++ b/lib/index.js @@ -91,7 +91,7 @@ module.exports = function nuts(opts) { if (req.useragent.isLinux64) platform = platforms.LINUX_64; } - if (!platform) return next(new Error('No platform specified and impossible to detect one')); + if (!platform) return next(new Error('We could not detect your platform.\n\nPlease pick a download directly from: https://github.com/itchio/itch/releases\n\nThanks!')); } else { platform = null; } @@ -224,14 +224,9 @@ module.exports = function nuts(opts) { releases = _.chain(releases) - // Exclude deltas and other versions - .filter(function(entry) { - return (!entry.isDelta && entry.version == winReleases.normVersion(latest.tag)); - }) - - // Change filename to use downlaodp roxy + // Change filename to use download proxy .map(function(entry) { - entry.filename = url.resolve(fullUrl, '/download/'+latest.tag+'/'+entry.filename); + entry.filename = url.resolve(fullUrl, '/download/'+entry.version+'/'+entry.filename); return entry; })