Removed Amazon as Company for QSettings (#1649)
* Removed Amazon as Company for QSettings Signed-off-by: Terry Michaels <miterenc@amazon.com>
This commit is contained in:
@@ -9,12 +9,12 @@ import winreg
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
LUMBERYARD_SETTINGS_PATH = r'Software\Amazon\Lumberyard\Settings'
|
||||
LUMBERYARD_SETTINGS_PATH = r'Software\O3DE\O3DE\Settings'
|
||||
|
||||
def set_ly_registry_value(reg_path, value_name, new_value, value_type=winreg.REG_DWORD):
|
||||
"""
|
||||
Sets the specified value for the specified value_name in the LY registry key.
|
||||
:param reg_path: A string that identifies the registry path to the desired key (e.g. Software\Amazon\Lumberyard\Settings)
|
||||
:param reg_path: A string that identifies the registry path to the desired key (e.g. Software\O3DE\O3DE\Settings)
|
||||
:param value_name: A string that identifies the value name (e.g. UndoLevels, ViewportInteractionModel)
|
||||
:param new_value: Value to set on the specified value_name
|
||||
:param value_type: The type of value set. Defaults to a 32-bit number.
|
||||
@@ -40,7 +40,7 @@ def set_ly_registry_value(reg_path, value_name, new_value, value_type=winreg.REG
|
||||
def get_ly_registry_value(reg_path, value_name):
|
||||
"""
|
||||
Gets the current value for an existing value_name in the LY registry key.
|
||||
:param reg_path: A string that identifies the registry path to the desired key (e.g. Software\Amazon\Lumberyard\Settings)
|
||||
:param reg_path: A string that identifies the registry path to the desired key (e.g. Software\O3DE\O3DE\Settings)
|
||||
:param value_name: A string that identifies the value name (e.g. UndoLevels, ViewportInteractionModel)
|
||||
:return: Value set for the specified value_name
|
||||
"""
|
||||
@@ -62,7 +62,7 @@ def get_ly_registry_value(reg_path, value_name):
|
||||
def delete_ly_registry_value(reg_path, value_name):
|
||||
"""
|
||||
Deletes the specific registry value_name found in the reg_path key.
|
||||
:param reg_path: A string that identifies the registry path to the desired key (e.g. Software\Amazon\Lumberyard\Settings)
|
||||
:param reg_path: A string that identifies the registry path to the desired key (e.g. Software\O3DE\O3DE\Settings)
|
||||
:param value_name: A string that identifies the value name (e.g. UndoLevels, ViewportInteractionModel)
|
||||
:return: None
|
||||
"""
|
||||
|
||||
@@ -14,12 +14,12 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
layout = {
|
||||
'path': r'Software\Amazon\O3DE\Editor\fancyWindowLayouts',
|
||||
'path': r'Software\O3DE\O3DE\Editor\fancyWindowLayouts',
|
||||
'value': 'last'
|
||||
}
|
||||
restore_camera = {
|
||||
'new': 16384,
|
||||
'path': r'Software\Amazon\Lumberyard\Editor\AutoHide',
|
||||
'path': r'Software\O3DE\O3DE\Editor\AutoHide',
|
||||
'value': 'ViewportCameraRestoreOnExitGameMode'
|
||||
}
|
||||
|
||||
|
||||
@@ -129,8 +129,8 @@ int main(int argc, char **argv)
|
||||
{
|
||||
ComponentApplicationWrapper componentApplicationWrapper;
|
||||
|
||||
QApplication::setOrganizationName("Amazon");
|
||||
QApplication::setOrganizationDomain("amazon.com");
|
||||
QApplication::setOrganizationName("O3DE");
|
||||
QApplication::setOrganizationDomain("o3de.org");
|
||||
QApplication::setApplicationName("O3DEWidgetGallery");
|
||||
|
||||
QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
|
||||
|
||||
@@ -252,8 +252,8 @@ namespace Editor
|
||||
setWindowIcon(QIcon(":/Application/res/o3de_editor.ico"));
|
||||
|
||||
// set the default key store for our preferences:
|
||||
setOrganizationName("Amazon");
|
||||
setOrganizationDomain("amazon.com");
|
||||
setOrganizationName("O3DE");
|
||||
setOrganizationDomain("o3de.org");
|
||||
setApplicationName("O3DE Editor");
|
||||
|
||||
connect(m_idleTimer, &QTimer::timeout, this, &EditorQtApplication::maybeProcessIdle);
|
||||
|
||||
@@ -1654,7 +1654,7 @@ BOOL CCryEditApp::InitInstance()
|
||||
GetIEditor()->GetCommandManager()->RegisterAutoCommands();
|
||||
GetIEditor()->AddUIEnums();
|
||||
|
||||
mainWindowWrapper->enableSaveRestoreGeometry("amazon", "O3DE", "mainWindowGeometry");
|
||||
mainWindowWrapper->enableSaveRestoreGeometry("O3DE", "O3DE", "mainWindowGeometry");
|
||||
m_pDocManager->OnFileNew();
|
||||
|
||||
if (IsInRegularEditorMode())
|
||||
|
||||
@@ -240,7 +240,7 @@ public:
|
||||
|
||||
virtual bool HotKey_LoadExisting() override
|
||||
{
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
QString group = "Hotkeys/";
|
||||
|
||||
HotKey_BuildDefaults();
|
||||
@@ -276,7 +276,7 @@ public:
|
||||
|
||||
virtual void HotKey_SaveCurrent() override
|
||||
{
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
QString group = "Hotkeys/";
|
||||
settings.remove("Hotkeys/");
|
||||
settings.sync();
|
||||
|
||||
@@ -146,7 +146,7 @@ GraphicsSettingsDialog::GraphicsSettingsDialog(QWidget* parent /* = nullptr */)
|
||||
m_ui->m_platformEntry->addItem(platform);
|
||||
}
|
||||
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
settings.beginGroup("GraphicsSettingsDialog");
|
||||
|
||||
if (settings.contains("Platform"))
|
||||
@@ -174,7 +174,7 @@ GraphicsSettingsDialog::GraphicsSettingsDialog(QWidget* parent /* = nullptr */)
|
||||
|
||||
GraphicsSettingsDialog::~GraphicsSettingsDialog()
|
||||
{
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
settings.beginGroup("GraphicsSettingsDialog");
|
||||
|
||||
auto platformCheck = [this](AZStd::pair<AZStd::string, ESystemConfigPlatform>& stringConfigPair) { return stringConfigPair.second == m_currentPlatform; };
|
||||
@@ -556,7 +556,7 @@ void GraphicsSettingsDialog::LoadPlatformConfigurations()
|
||||
|
||||
setUpdatesEnabled(true);
|
||||
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
settings.beginGroup("GraphicsSettingsDialog");
|
||||
settings.beginGroup("cvarGroup");
|
||||
|
||||
@@ -619,7 +619,7 @@ void GraphicsSettingsDialog::CleanUI()
|
||||
{
|
||||
setUpdatesEnabled(false);
|
||||
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
settings.beginGroup("GraphicsSettingsDialog");
|
||||
settings.beginGroup("cvarGroup");
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ void KeyboardCustomizationSettings::LoadDefaults()
|
||||
|
||||
void KeyboardCustomizationSettings::Load()
|
||||
{
|
||||
QSettings settings(QStringLiteral("Amazon"), QStringLiteral("O3DE"));
|
||||
QSettings settings(QStringLiteral("O3DE"), QStringLiteral("O3DE"));
|
||||
settings.beginGroup(QStringLiteral("Keyboard Shortcuts"));
|
||||
settings.beginGroup(m_group);
|
||||
|
||||
@@ -151,7 +151,7 @@ void KeyboardCustomizationSettings::LoadFromSnapshot(const Snapshot& snapshot)
|
||||
|
||||
void KeyboardCustomizationSettings::Save()
|
||||
{
|
||||
QSettings settings(QStringLiteral("Amazon"), QStringLiteral("O3DE"));
|
||||
QSettings settings(QStringLiteral("O3DE"), QStringLiteral("O3DE"));
|
||||
settings.beginGroup(QStringLiteral("Keyboard Shortcuts"));
|
||||
settings.beginGroup(m_group);
|
||||
|
||||
|
||||
@@ -299,7 +299,7 @@ MainWindow::MainWindow(QWidget* parent)
|
||||
, m_undoStateAdapter(new UndoStackStateAdapter(this))
|
||||
, m_keyboardCustomization(nullptr)
|
||||
, m_activeView(nullptr)
|
||||
, m_settings("amazon", "O3DE") // TODO_KDAB: Replace with a central settings class
|
||||
, m_settings("O3DE", "O3DE")
|
||||
, m_toolbarManager(new ToolbarManager(m_actionManager, this))
|
||||
, m_assetImporterManager(new AssetImporterManager(this))
|
||||
, m_levelEditorMenuHandler(new LevelEditorMenuHandler(this, m_viewPaneManager, m_settings))
|
||||
|
||||
@@ -211,7 +211,7 @@ public:
|
||||
ToolbarManager::ToolbarManager(ActionManager* actionManager, MainWindow* mainWindow)
|
||||
: m_mainWindow(mainWindow)
|
||||
, m_actionManager(actionManager)
|
||||
, m_settings("amazon", "O3DE")
|
||||
, m_settings("O3DE", "O3DE")
|
||||
, m_expanderWatcher(new AmazonToolBarExpanderWatcher())
|
||||
{
|
||||
// Note that we don't actually save/load from AmazonToolbar::List
|
||||
|
||||
@@ -1854,7 +1854,7 @@ void CTrackViewDialog::ReadMiscSettings()
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void CTrackViewDialog::SaveLayouts()
|
||||
{
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
settings.beginGroup("TrackView");
|
||||
QByteArray stateData = this->saveState();
|
||||
settings.setValue("layout", stateData);
|
||||
@@ -1870,7 +1870,7 @@ void CTrackViewDialog::SaveLayouts()
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void CTrackViewDialog::ReadLayouts()
|
||||
{
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
settings.beginGroup("TrackView");
|
||||
|
||||
setViewMode(static_cast<ViewMode>(settings.value("lastViewMode").toInt()));
|
||||
|
||||
@@ -789,7 +789,7 @@ void CViewportTitleDlg::OnSystemEvent(ESystemEvent event, UINT_PTR wparam, UINT_
|
||||
|
||||
void CViewportTitleDlg::LoadCustomPresets(const QString& section, const QString& keyName, QStringList& outCustompresets)
|
||||
{
|
||||
QSettings settings("Amazon", "O3DE"); // Temporary solution until we have the global Settings class.
|
||||
QSettings settings("O3DE", "O3DE"); // Temporary solution until we have the global Settings class.
|
||||
settings.beginGroup(section);
|
||||
outCustompresets = settings.value(keyName).toStringList();
|
||||
settings.endGroup();
|
||||
@@ -797,7 +797,7 @@ void CViewportTitleDlg::LoadCustomPresets(const QString& section, const QString&
|
||||
|
||||
void CViewportTitleDlg::SaveCustomPresets(const QString& section, const QString& keyName, const QStringList& custompresets)
|
||||
{
|
||||
QSettings settings("Amazon", "O3DE"); // Temporary solution until we have the global Settings class.
|
||||
QSettings settings("O3DE", "O3DE"); // Temporary solution until we have the global Settings class.
|
||||
settings.beginGroup(section);
|
||||
settings.setValue(keyName, custompresets);
|
||||
settings.endGroup();
|
||||
|
||||
@@ -639,7 +639,7 @@ bool ApplicationManager::Activate()
|
||||
|
||||
QString ApplicationManager::GetOrganizationName() const
|
||||
{
|
||||
return "Amazon";
|
||||
return "O3DE";
|
||||
}
|
||||
|
||||
QString ApplicationManager::GetApplicationName() const
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace MaterialEditor
|
||||
auto mainWindowWrapper =
|
||||
new AzQtComponents::WindowDecorationWrapper(AzQtComponents::WindowDecorationWrapper::OptionAutoTitleBarButtons);
|
||||
mainWindowWrapper->setGuest(this);
|
||||
mainWindowWrapper->enableSaveRestoreGeometry("amazon", "MaterialEditor", "mainWindowGeometry");
|
||||
mainWindowWrapper->enableSaveRestoreGeometry("O3DE", "MaterialEditor", "mainWindowGeometry");
|
||||
|
||||
// set the style sheet for RPE highlighting and other styling
|
||||
AzQtComponents::StyleManager::setStyleSheet(this, QStringLiteral(":/MaterialEditor.qss"));
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
QApplication::setOrganizationName("Amazon");
|
||||
QApplication::setOrganizationDomain("amazon.com");
|
||||
QApplication::setOrganizationName("O3DE");
|
||||
QApplication::setOrganizationDomain("o3de.org");
|
||||
QApplication::setApplicationName("O3DE Material Editor");
|
||||
|
||||
AzQtComponents::PrepareQtPaths();
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ namespace EMStudio
|
||||
const char* GetCompileDate() const override { return MCORE_DATE; }
|
||||
const char* GetName() const override { return "OpenGL Render Window"; }
|
||||
uint32 GetClassID() const override { return static_cast<uint32>(RenderPlugin::CLASS_ID); }
|
||||
const char* GetCreatorName() const override { return "Amazon"; }
|
||||
const char* GetCreatorName() const override { return "O3DE"; }
|
||||
float GetVersion() const override { return 1.0f; }
|
||||
bool GetIsClosable() const override { return true; }
|
||||
bool GetIsFloatable() const override { return true; }
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ namespace EMStudio
|
||||
|
||||
const char* ActionHistoryPlugin::GetCreatorName() const
|
||||
{
|
||||
return "Amazon";
|
||||
return "O3DE";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -307,7 +307,7 @@ namespace EMStudio
|
||||
// get the creator name
|
||||
const char* AnimGraphPlugin::GetCreatorName() const
|
||||
{
|
||||
return "Amazon";
|
||||
return "O3DE";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ namespace EMStudio
|
||||
const char* GetCompileDate() const override { return MCORE_DATE; }
|
||||
const char* GetName() const override { return "Attachments"; }
|
||||
uint32 GetClassID() const override { return AttachmentsPlugin::CLASS_ID; }
|
||||
const char* GetCreatorName() const override { return "Amazon"; }
|
||||
const char* GetCreatorName() const override { return "O3DE"; }
|
||||
float GetVersion() const override { return 1.0f; }
|
||||
bool GetIsClosable() const override { return true; }
|
||||
bool GetIsFloatable() const override { return true; }
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ namespace EMStudio
|
||||
|
||||
const char* CommandBarPlugin::GetCreatorName() const
|
||||
{
|
||||
return "Amazon";
|
||||
return "O3DE";
|
||||
}
|
||||
|
||||
float CommandBarPlugin::GetVersion() const
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ class CommandBrowserPlugin : public EMStudio::DockWidgetPlugin
|
||||
const char* GetCompileDate() const { return MCORE_DATE; }
|
||||
const char* GetName() const { return "Command Browser"; }
|
||||
uint32 GetClassID() const { return CommandBrowserPlugin::CLASS_ID; }
|
||||
const char* GetCreatorName() const { return "Amazon"; }
|
||||
const char* GetCreatorName() const { return "O3DE"; }
|
||||
float GetVersion() const { return 1.0f; }
|
||||
bool IsClosable() const { return true; }
|
||||
bool IsFloatable() const { return true; }
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ namespace EMStudio
|
||||
// get the creator name
|
||||
const char* LogWindowPlugin::GetCreatorName() const
|
||||
{
|
||||
return "Amazon";
|
||||
return "O3DE";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ namespace EMStudio
|
||||
const char* GetCompileDate() const override { return MCORE_DATE; }
|
||||
const char* GetName() const override { return "Morph Targets"; }
|
||||
uint32 GetClassID() const override { return MorphTargetsWindowPlugin::CLASS_ID; }
|
||||
const char* GetCreatorName() const override { return "Amazon"; }
|
||||
const char* GetCreatorName() const override { return "O3DE"; }
|
||||
float GetVersion() const override { return 1.0f; }
|
||||
bool GetIsClosable() const override { return true; }
|
||||
bool GetIsFloatable() const override { return true; }
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ namespace EMStudio
|
||||
const char* GetCompileDate() const override { return MCORE_DATE; }
|
||||
const char* GetName() const override { return "Motion Events"; }
|
||||
uint32 GetClassID() const override { return MotionEventsPlugin::CLASS_ID; }
|
||||
const char* GetCreatorName() const override { return "Amazon"; }
|
||||
const char* GetCreatorName() const override { return "O3DE"; }
|
||||
float GetVersion() const override { return 1.0f; }
|
||||
bool GetIsClosable() const override { return true; }
|
||||
bool GetIsFloatable() const override { return true; }
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ namespace EMStudio
|
||||
const char* GetCompileDate() const override { return MCORE_DATE; }
|
||||
const char* GetName() const override { return "Motion Sets"; }
|
||||
uint32 GetClassID() const override { return MotionSetsWindowPlugin::CLASS_ID; }
|
||||
const char* GetCreatorName() const override { return "Amazon"; }
|
||||
const char* GetCreatorName() const override { return "O3DE"; }
|
||||
float GetVersion() const override { return 1.0f; }
|
||||
bool GetIsClosable() const override { return true; }
|
||||
bool GetIsFloatable() const override { return true; }
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ namespace EMStudio
|
||||
const char* GetCompileDate() const override { return MCORE_DATE; }
|
||||
const char* GetName() const override { return "Motions"; }
|
||||
uint32 GetClassID() const override { return MotionWindowPlugin::CLASS_ID; }
|
||||
const char* GetCreatorName() const override { return "Amazon"; }
|
||||
const char* GetCreatorName() const override { return "O3DE"; }
|
||||
float GetVersion() const override { return 1.0f; }
|
||||
bool GetIsClosable() const override { return true; }
|
||||
bool GetIsFloatable() const override { return true; }
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ namespace EMStudio
|
||||
const char* GetCompileDate() const override { return MCORE_DATE; }
|
||||
const char* GetName() const override { return "Node Groups"; }
|
||||
uint32 GetClassID() const override { return NodeGroupsPlugin::CLASS_ID; }
|
||||
const char* GetCreatorName() const override { return "Amazon"; }
|
||||
const char* GetCreatorName() const override { return "O3DE"; }
|
||||
float GetVersion() const override { return 1.0f; }
|
||||
bool GetIsClosable() const override { return true; }
|
||||
bool GetIsFloatable() const override { return true; }
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ namespace EMStudio
|
||||
const char* GetCompileDate() const override { return MCORE_DATE; }
|
||||
const char* GetName() const override { return "Joint outliner"; }
|
||||
uint32 GetClassID() const override { return CLASS_ID; }
|
||||
const char* GetCreatorName() const override { return "Amazon"; }
|
||||
const char* GetCreatorName() const override { return "O3DE"; }
|
||||
float GetVersion() const override { return 1.0f; }
|
||||
bool GetIsClosable() const override { return true; }
|
||||
bool GetIsFloatable() const override { return true; }
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ namespace EMStudio
|
||||
const char* GetCompileDate() const override { return MCORE_DATE; }
|
||||
const char* GetName() const override { return "Actor Manager"; }
|
||||
uint32 GetClassID() const override { return CLASS_ID; }
|
||||
const char* GetCreatorName() const override { return "Amazon"; }
|
||||
const char* GetCreatorName() const override { return "O3DE"; }
|
||||
float GetVersion() const override { return 1.0f; }
|
||||
bool GetIsClosable() const override { return true; }
|
||||
bool GetIsFloatable() const override { return true; }
|
||||
|
||||
+1
-1
@@ -138,7 +138,7 @@ namespace EMStudio
|
||||
// get the creator name
|
||||
const char* TimeViewPlugin::GetCreatorName() const
|
||||
{
|
||||
return "Amazon";
|
||||
return "O3DE";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1555,7 +1555,7 @@ void CUiAnimViewDialog::ReadMiscSettings()
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void CUiAnimViewDialog::SaveLayouts()
|
||||
{
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
settings.beginGroup("UiAnimView");
|
||||
QByteArray stateData = this->saveState();
|
||||
settings.setValue("layout", stateData);
|
||||
@@ -1570,7 +1570,7 @@ void CUiAnimViewDialog::SaveLayouts()
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void CUiAnimViewDialog::ReadLayouts()
|
||||
{
|
||||
QSettings settings("Amazon", "O3DE");
|
||||
QSettings settings("O3DE", "O3DE");
|
||||
settings.beginGroup("UiAnimView");
|
||||
if (settings.contains("layout"))
|
||||
{
|
||||
|
||||
@@ -160,7 +160,7 @@ enum class FusibleCommand
|
||||
#include "ViewportWidget.h"
|
||||
|
||||
// IMPORTANT: This is NOT the permanent location for these values.
|
||||
#define AZ_QCOREAPPLICATION_SETTINGS_ORGANIZATION_NAME "Amazon"
|
||||
#define AZ_QCOREAPPLICATION_SETTINGS_ORGANIZATION_NAME "O3DE"
|
||||
#define AZ_QCOREAPPLICATION_SETTINGS_APPLICATION_NAME "O3DE"
|
||||
|
||||
// See: http://en.wikipedia.org/wiki/Internet_media_type#Prefix_x
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#pragma once
|
||||
|
||||
// IMPORTANT: This is NOT the permanent location for these values.
|
||||
#define SCRIPTCANVASEDITOR_AZ_QCOREAPPLICATION_SETTINGS_ORGANIZATION_NAME "Amazon"
|
||||
#define SCRIPTCANVASEDITOR_AZ_QCOREAPPLICATION_SETTINGS_ORGANIZATION_NAME "O3DE"
|
||||
#define SCRIPTCANVASEDITOR_NAME_SHORT "ScriptCanvasEditor"
|
||||
|
||||
namespace ScriptCanvasEditor
|
||||
|
||||
@@ -98,4 +98,4 @@ class WindowsWorkspaceManager(AbstractWorkspaceManager):
|
||||
def clear_settings(self):
|
||||
logger.debug("Build::setup_clear_registry")
|
||||
if sys.platform == "win32":
|
||||
ly_test_tools.environment.reg_cleaner.clean_ly_keys(exception_list=r"SOFTWARE\Amazon\Lumberyard\Identity")
|
||||
ly_test_tools.environment.reg_cleaner.clean_ly_keys(exception_list=r"SOFTWARE\O3DE\O3DE\Identity")
|
||||
|
||||
@@ -11,7 +11,7 @@ import winreg
|
||||
|
||||
import ly_test_tools.environment.process_utils as process_utils
|
||||
|
||||
CONST_LY_REG = r'SOFTWARE\Amazon\Lumberyard'
|
||||
CONST_LY_REG = r'SOFTWARE\O3DE\O3DE'
|
||||
AUTOMATION_EXCEPTION_LIST = [
|
||||
os.path.join(CONST_LY_REG, r"Identity"),
|
||||
os.path.join(CONST_LY_REG, r"Settings\DXInstalled"),
|
||||
|
||||
@@ -29,7 +29,7 @@ from ly_test_tools.o3de.ap_log_parser import APLogParser
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Asset Processor fast scan system setting key/subkey
|
||||
AP_FASTSCAN_KEY = r"Software\Amazon\O3DE Asset Processor\Options"
|
||||
AP_FASTSCAN_KEY = r"Software\O3DE\O3DE Asset Processor\Options"
|
||||
AP_FASTSCAN_SUBKEY = r"EnableZeroAnalysis"
|
||||
|
||||
|
||||
|
||||
@@ -102,4 +102,4 @@ class TestWindowsWorkspaceManager(object):
|
||||
windows_workspace_manager = ly_test_tools._internal.managers.platforms.windows.WindowsWorkspaceManager()
|
||||
windows_workspace_manager.clear_settings()
|
||||
|
||||
mock_clear_keys.assert_called_with(exception_list=r"SOFTWARE\Amazon\Lumberyard\Identity")
|
||||
mock_clear_keys.assert_called_with(exception_list=r"SOFTWARE\O3DE\O3DE\Identity")
|
||||
|
||||
Reference in New Issue
Block a user