From 23b18c17ca660c60efc94d9d6038aabb09f69677 Mon Sep 17 00:00:00 2001 From: Raffson Date: Sun, 18 Sep 2022 17:36:42 +0200 Subject: [PATCH] Update FirstStartWindow --- .../QLiberationFirstStartWindow.py | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/qt_ui/windows/preferences/QLiberationFirstStartWindow.py b/qt_ui/windows/preferences/QLiberationFirstStartWindow.py index 78b898a1..1077c0a8 100644 --- a/qt_ui/windows/preferences/QLiberationFirstStartWindow.py +++ b/qt_ui/windows/preferences/QLiberationFirstStartWindow.py @@ -4,7 +4,6 @@ from PySide2.QtWidgets import ( QVBoxLayout, QPushButton, QHBoxLayout, - QPlainTextEdit, QTextEdit, ) @@ -24,34 +23,34 @@ class QLiberationFirstStartWindow(QDialog): self.preferences = QLiberationPreferences() WARN_TEXT = """ - Welcome to DCS Liberation ! + Welcome to DCS Retribution !

Please take 30 seconds to read this : -

DCS Liberation will modify this file in your DCS installation directory :

+

DCS Retribution will modify this file in your DCS installation directory :


<dcs_installation_directory>/Scripts/MissionScripting.lua

- This will disable some security limits of the DCS World Lua scripting environment, in order to allow communication between DCS World and DCS Liberation. + This will disable some security limits of the DCS World Lua scripting environment, in order to allow communication between DCS World and DCS Retribution. However, the modification of this file could potentially grant access to your filesystem to malicious DCS mission files.

-

So, you should not join untrusted servers or open untrusted mission files within DCS world while DCS Liberation is running.

+

So, you should not join untrusted servers or open untrusted mission files within DCS world while DCS Retribution is running.

- DCS Liberation will restore your original MissionScripting file when it close. + DCS Retribution will restore your original MissionScripting file when it closes.

- However, should DCS Liberation encounter an unexpected crash (which should not happen), the MissionScripting file might not be restored. - If that occurs, you can use the backup file saved in the DCS Liberation directory there : + However, should DCS Retribution encounter an unexpected crash (which should not happen), the MissionScripting file might not be restored. + If that occurs, you can use the backup file saved in the DCS Retribution directory there :


./resources/scripts/MissionScripting.original.lua
-

Then copy it in your DCS installation directory to replace this file :

+

Then copy it to your DCS installation directory to replace this file :


<dcs_installation_directory>/Scripts/MissionScripting.lua
@@ -59,9 +58,9 @@ class QLiberationFirstStartWindow(QDialog):

As you click on the button below, the file will be replaced in your DCS installation directory.


-

If you leave the DCS Installation Directory empty, DCS Liberation can not automatically replace the MissionScripting.lua and will therefore not work correctly! - In this case, you need to edit the file yourself. The easiest way to do it is to replace the original file with the file in dcs-liberation distribution (<dcs_liberation_installation>/resources/scripts/MissionScripting.lua). -

You can find more information on how to manually change this file in the Liberation Wiki (Page: Dedicated Server Guide) on GitHub.

+

If you leave the DCS Installation Directory empty, DCS Retribution can not automatically replace the MissionScripting.lua and will therefore not work correctly! + In this case, you need to edit the file yourself. The easiest way to do it is to replace the original file with the file in dcs-retribution distribution (<dcs_retribution_installation>/resources/scripts/MissionScripting.lua). +

You can find more information on how to manually change this file in the Retribution Wiki (Page: Dedicated Server Guide) on GitHub.