mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 07:05:54 +03:00
Page:
ScreenToGif network connections
Pages
FAQ (Frequently Asked Questions)
Help ▪ Editor ✏️ ▪ Action sidebar
Help ▪ Editor ✏️ ▪ Exporting your project 💾 ▪ Apng
Help ▪ Editor ✏️ ▪ Exporting your project 💾 ▪ Gif
Help ▪ Editor ✏️ ▪ Exporting your project 💾 ▪ Video
Help ▪ Editor ✏️ ▪ Exporting your project 💾
Help ▪ Editor ✏️ ▪ Ribbon
Help ▪ Editor ✏️
Help ▪ FAQ ▪ Export to video
Help ▪ FAQ ▪ Missing dependency (.Net Framework or DLL)
Help ▪ FAQ ▪ Unable to download Gifski
Help ▪ FAQ ▪ Unable to download SharpDx
Help ▪ FAQ ▪ Unable to use Gifski
Help ▪ Issues ▪ Error while opening the Editor window
Help ▪ Issues ▪ SharpDX dependencies cannot be loaded
Help ▪ Issues ▪ Video importer fails to load
Help ▪ Known issues
Help ▪ Options ⚙️
Help ▪ Recording 📹
Help
Home
Installation parameters
Localization (Installer)
Localization (Website)
Localization
ScreenToGif network connections
Startup parameters
No results
4
ScreenToGif network connections
Nicke Manarin edited this page 2020-04-14 11:25:30 -03:00
Here's a list of all internet connections ScreenToGif is capable of opening:
⚠️ This section of the wiki is currently under construction. ⚠️
-
Update checks
-
What:
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. -
Conditional:
If set to check for updates inOptions > Application > Check for updates on startup. -
When:
The call is made during the startup of the app. -
Why:
In order to warn the user that a new update is available, this check needs to be made. -
Addresses:
https://api.github.com/repos/NickeManarin/ScreenToGif/releases/latest
https://www.fosshub.com/feed/5bfc6fce8c9fe8186f809d24.json -
Code:
ApplicationViewModel.CheckOnGithub()
ApplicationViewModel.CheckOnFosshub()
-
-
Update download
-
What:
The app downloads a MSI (Microsoft Installer) file from GitHub. This file is the installer of ScreenToGif. -
Conditional:
If set to download updates automatically inOptions > Application > Automatically install updates after closing the app.
OR
If the user clicks to install the update in the Updater window. -
When:
The call is made during the startup of the app.
OR
The call is made on demand, triggered by the user. -
Why:
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. -
Address:
https://github.com/NickeManarin/ScreenToGif/releases/download/{version}/ScreenToGif.{version}.Setup.msi -
Code:
ApplicationViewModel.DownloadUpdate()
-
-
Translation update check
-
What:
The app will download a JSON from GitHub containing the details of the localization of the current culture set onOptions > Language. If the current localization has an update available, it will download a XAML file (which is the localization). -
Conditional:
If set to check for translation updates inOptions > Application > Check for translation updates. -
Why:
In order to have an always up to date localization, this checks needs to be made. -
Addresses:
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 -
Code:
LocalizationHelper.GetWhenResourceWasUpdated()
LocalizationHelper.DownloadLatest()
-
-
ImgUr auth
-
What:
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. -
Conditional:
The call is made on demand, triggered by the user. -
Why:
In order to upload gifs to ImgUr, the app needs to be authorized. -
Addresses:
https://api.imgur.com/oauth2/token
https://api.imgur.com/3/account/me/albums -
Code:
Imgur.GetAccessToken()
Imgur.RefreshToken()
-
-
Download of extra tools
-
Net Framework 4.8 download
-
Sending feedbacks
-
Upload gifs via ImgUr
-
Upload gifs via Gfycat
-
Upload gifs via Yandex
-
Executing post-encoding commands
System Requirements
For Use
- Microsoft Windows 10/11
- .NET 9 (Desktop Runtime) or newer.
For Development
- Visual Studio 2022
- .NET 9