-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
I recently stumbled over a problem regarding the installation of Foundry Virtual Tabletop via Scoop. The download requires you to be logged in, but the download URL is fixed:
https://foundryvtt.com/releases/download?version=$version&platform=windows
Without too much effort it is possible to simulate a login via PowerShell, fetch the sessionid
cookie, which is needed for the download. Since Scoop got a cookie
attribute I was then able to install it by setting the sessionid
cookie within the manifest by hand. Of course that's not a proper solution for the problem. What I'm missing is a possibility to simulate the login and provide the sessionid
cookie for Scoops download function before the download happens within Scoop.
Is Scoop supposed to be stateless or can we add some functionality to run scripts before the download happens to take care of logins, more complex cookie handling and such (something like pre_download
, similar to pre_install
)?