############################
# Setup product information 
############################
VENDOR="https://desktop.telegram.org/"
PN="telegram.desktop"
NAME="Telegram"
DESCRIPTION="Fast and secure desktop app, perfectly synced with your mobile phone."
VERSION="1.8.15"
RELEASE="3"
PRIORITY="0"
ADVICE=""

# TYPE - defines, if the install files are public or restricted. 
# Valid value: restricted | public
TYPE="public"

DL_FILE[0]="telegram_logo.png"
DL_SOURCE[0]="https://2.bp.blogspot.com/-b46MQPSW4Ck/WXXxZs7GMbI/AAAAAAAABeU/-R6973m_IfYHdMXWv_RGz1ROPMgf3W-9gCLcBGAs/s1600/telegram_logo.png"

DL_FILE[1]="tsetup.${VERSION}.exe"
DL_SOURCE[1]="https://updates.tdesktop.com/tsetup/tsetup.${VERSION}.exe"
DL_ARCH[1]="X86"
DL_WINST_NAME[1]=InstallExe

# File array index for the image showing while installing the program
ICON_DL_INDEX=0

#######################################
# specify Executable for Desktop link
#######################################

WINST_NAME[0]="ProgramExecutable"
WINST_VALUE[0]="Telegram.exe"

OPSI_INI_SECTION[0]="X86"
OPSI_INI_OPTION[0]="UninstallExecutable"
OPSI_INI_VALUE[0]="unins000.exe"