ProjectExportWorker_mac.cpp 739 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <ProjectExportWorker.h>
  9. #include <ProjectManagerDefs.h>
  10. #include <ProjectUtils.h>
  11. #include <QDir>
  12. #include <QString>
  13. namespace O3DE::ProjectManager
  14. {
  15. QString ProjectExportWorker::GetO3DECLIString() const
  16. {
  17. return QString("scripts/o3de.sh");
  18. }
  19. AZ::Outcome<QStringList, QString> ProjectExportWorker::ConstructKillProcessCommandArguments(const QString& pidToKill) const
  20. {
  21. return AZ::Success(QStringList{"kill", "-9", pidToKill});
  22. }
  23. } // namespace O3DE::ProjectManager