microsoft / microsoft/winget-pkgs

[Package Request]: Game Jolt Desktop App

Open
#411,048 0 comments 1 reaction 0 assignees View on GitHub
Help-Wanted Needs-Triage Package-Request
Dominant language
No language data
Stars
11.1k
Forks
9.7k
PR merge metrics
PR metrics pending

Description

### How can we help?

I would like someone else to build the manifest.

### Please read and ensure the following

- [x] The installer meets the above requirements

### Please provide the following information

Download Page Url: https://gamejolt.com/app
Publisher: Game Jolt
Package Name: Game Jolt
Description: The desktop app for the game launcher/storefront Game Jolt.
Package Version: 1.39.4
Installer Url: Complicated; see "Technical details" further below.

### Technical details:
Their installer URLs are most unfortunately time-expirant. But compared to all other cases of time-expirant apps I've come across (which expired after 1-5min; Realtek in particular expired after less than 1min), Game Jolt has a grace period of 24 hours.

There is a faint precedence for something similar in pkgs, with `Microsoft.SafetyScanner` getting updated every 5 hours or so; however, Safety Scanner versions take 10 days to officially expire according to Team Microsoft Defender.

Clicking on https://gamejolt.com/site-api/web/discover/games/builds/get-download-url/1621836 provides a time-expirant link that lasts for 24 hours after clicking. For example, clicking on it now gave me https://download.gamejolt.net/bf685407538cf259c4e2876dd9f318adfb7b92936bd12f505288e46399937055,1785704067,7/data/games/5/162/362412/files/66bc359fe3e14/gamejoltclientsetup.exe. The key part is `1785704067`, which is a Unix time code, and shows when a link expires.

My theory is that if it gets added to pkgs, and then gets PRs for it every 18 hours with a refreshed InstallerUrl, then a Game Jolt package in pkgs would be fully viable. The installer's SHA256 does **not** change, at the very least, which makes it slightly easier.

I had got it into winget-extras this week, but it got removed again after a few days despite extras having a "Shards" system that seems to work like pkgs' bots but better:
* https://github.com/pl4nty/winget-extras/pull/642#issuecomment-5151430083.
* https://github.com/pl4nty/winget-extras/pull/652.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Game Jolt download-URL API at https://gamejolt.com/site-api/web/discover/games/builds/get-download-url/1621836 and the package repository's handling of time-expiring installer URLs. Compare the referenced Microsoft.SafetyScanner and winget-extras examples. Done would require an agreed, maintainable way to keep the Game Jolt manifest's InstallerUrl valid.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.