FIRE-34727 Whitelisting reminder on launch

master
PanteraPolnocy 2024-11-02 12:52:12 +01:00
parent e9cc484956
commit f92257606c
3 changed files with 29 additions and 0 deletions

View File

@ -3336,6 +3336,8 @@ void login_show()
//LLPanelLogin::show( gViewerWindow->getWindowRectScaled(), login_callback, NULL );
FSPanelLogin::show( gViewerWindow->getWindowRectScaled(), login_callback, NULL );
// </FS:Ansariel> [FS Login Panel]
LLNotificationsUtil::add("WhitelistReminder"); // <FS:PP> Whitelist reminder
}
// Callback for when login screen is closed. Option 0 = connect, option 1 = quit.

View File

@ -14629,4 +14629,21 @@ Camera reset might be inhibited by the following objects:
</notification>
<!-- </FS:Zi> -->
<notification
icon="notifytip.tga"
name="WhitelistReminder"
type="alertmodal">
To improve [APP_NAME]'s performance, please whitelist it
Some antivirus programs may mistakenly block parts of [APP_NAME], slowing down its performance and causing some features to malfunction. To prevent these issues, we strongly recommend adding [APP_NAME] to your antivirus program's whitelist (or exclusion list). This will ensure the viewer runs smoothly.
For detailed instructions on how to whitelist [APP_NAME] - including a list of files and folders to exclude - please visit our guide:
https://wiki.firestormviewer.org/antivirus_whitelisting
<usetemplate
ignoretext="Show whitelist reminder on launch"
name="okignore"
yestext="OK"/>
</notification>
</notifications>

View File

@ -5470,4 +5470,14 @@ Zresetować adres URL do domyślnego?
<button name="use_as_is" text="Zostaw jak jest" />
</form>
</notification>
<notification name="WhitelistReminder">
Aby poprawić wydajność aplikacji [APP_NAME] - dodaj ją do listy wyjątków
Niektóre programy antywirusowe mogą błędnie blokować części [APP_NAME]a, spowalniając go i powodując nieprawidłowe działanie niektórych funkcji. Aby zapobiec tym problemom, zdecydowanie zalecamy dodanie [APP_NAME]a do białej listy (lub listy wykluczeń) programu antywirusowego. Zapewni to płynne działanie przeglądarki.
Aby uzyskać szczegółowe instrukcje dotyczące umieszczania [APP_NAME]a na białej liście - w tym listę plików i folderów do wykluczenia - zapoznaj się z naszym przewodnikiem:
https://wiki.firestormviewer.org/antivirus_whitelisting
<usetemplate ignoretext="Pokaż przypomnienie o dodaniu do białej listy podczas uruchamiania" name="okignore" />
</notification>
</notifications>