-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
ScreenToGif network connections
Nicke Manarin edited this page Apr 14, 2020
·
4 revisions
Here's a list of all internet connections ScreenToGif is capable of opening:
⚠️ This section of the wiki is currently under construction.⚠️
-
- The app downloads a JSON first from GitHub, then from FossHub if the first call failed. This JSON contains the information about the latest release available.
-
If set to check for updates in
Options > Application > Check for updates on startup
. - The call is made during the startup of the app.
- In order to warn the user that a new update is available, this check needs to be made.
-
https://api.github.com/repos/NickeManarin/ScreenToGif/releases/latest
https://www.fosshub.com/feed/5bfc6fce8c9fe8186f809d24.json -
ApplicationViewModel.CheckOnGithub()
ApplicationViewModel.CheckOnFosshub()
-
- The app downloads a MSI (Microsoft Installer) file from GitHub. This file is the installer of ScreenToGif.
-
If set to download updates automatically in
Options > Application > Automatically install updates after closing the app
.
OR
If the user clicks to install the update in the Updater window. -
The call is made during the startup of the app.
OR
The call is made on demand, triggered by the user. - In order to improve the experience of installing a new update, this downloads needs to happen. Meaning that the user doesn't need to open the browser to download the update.
- https://github.com/NickeManarin/ScreenToGif/releases/download/{version}/ScreenToGif.{version}.Setup.msi
- ApplicationViewModel.DownloadUpdate()
-
-
The app will download a JSON from GitHub containing the details of the localization of the current culture set on
Options > Language
. If the current localization has an update available, it will download a XAML file (which is the localization). -
If set to check for translation updates in
Options > Application > Check for translation updates
. - In order to have an always up to date localization, this checks needs to be made.
-
https://api.github.com/repos/NickeManarin/ScreenToGif/commits?path=ScreenToGif/Resources/Localization/StringResources.{culture}.xaml&page=1&per_page=1
https://api.github.com/repos/NickeManarin/ScreenToGif/contents/ScreenToGif/Resources/Localization/StringResources.{culture}.xaml -
LocalizationHelper.GetWhenResourceWasUpdated()
LocalizationHelper.DownloadLatest()
-
The app will download a JSON from GitHub containing the details of the localization of the current culture set on
-
- The app will make calls to the ImgUr server to get the access and refresh tokens, along with the list of albums of the user.
- The call is made on demand, triggered by the user.
- In order to upload gifs to ImgUr, the app needs to be authorized.
-
https://api.imgur.com/oauth2/token
https://api.imgur.com/3/account/me/albums -
Imgur.GetAccessToken()
Imgur.RefreshToken()
- Microsoft Windows 7 SP1/8.1/10/11
- .NET 6 (Desktop Runtime) or newer.
- Visual Studio 2022
- .NET 6