A Windows Server 2012 application is needed that, using predefined links to Google Sheets, will regularly download them as Excel files and organize them into local Windows folders. The connections for which links to download and into which folders to place them must be specified in the application settings, and there can be any number of combinations - link = folder.
The program must delete old versions of files before downloading a new file. That is, only one file should remain in the folder.
The program should initiate file updates both on a schedule that can be configured and manually - with a button.
Since not all links to Google files are publicly accessible, it is important to implement the ability to download files that are accessible with a Google user login.
Important! Implement a universal authorization mechanism that will not depend on updates to the Google interface.
It should be possible to specify the login and password for the Google account in the application settings and change it if necessary.
The application should be on the taskbar when opened, like regular programs, and minimize there with a button - minimize, but when closed, it should hide in the tray, not close. If it needs to be closed, a right-click on the third click should bring up a context menu with the option - close.