From bcf2ad80f146edb8731a0344697e9f735c19ca72 Mon Sep 17 00:00:00 2001 From: Digital Artifex <7929434+DigitalArtifex@users.noreply.github.com> Date: Tue, 5 Aug 2025 05:40:38 -0400 Subject: [PATCH] Changed default data paths for packaging --- plugin/ShaderPackModel.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugin/ShaderPackModel.cpp b/plugin/ShaderPackModel.cpp index 2c44d57..fe55a1a 100644 --- a/plugin/ShaderPackModel.cpp +++ b/plugin/ShaderPackModel.cpp @@ -2,12 +2,12 @@ ShaderPackModel::ShaderPackModel(QObject *parent) : QObject(parent), - m_shaderPackPath(QString::fromLatin1("%1/.local/share/komplex/packs/default").arg(QStandardPaths::writableLocation(QStandardPaths::HomeLocation))), - m_shaderPackInstallPath(QString::fromLatin1("%1/.local/share/komplex/packs").arg(QStandardPaths::writableLocation(QStandardPaths::HomeLocation))), - m_shadersPath(QString::fromLatin1("%1/.local/share/komplex/shaders").arg(QStandardPaths::writableLocation(QStandardPaths::HomeLocation))), - m_imagesPath(QString::fromLatin1("%1/.local/share/komplex/images").arg(QStandardPaths::writableLocation(QStandardPaths::HomeLocation))), - m_cubeMapsPath(QString::fromLatin1("%1/.local/share/komplex/cubemaps").arg(QStandardPaths::writableLocation(QStandardPaths::HomeLocation))), - m_videosPath(QString::fromLatin1("%1/.local/share/komplex/videos").arg(QStandardPaths::writableLocation(QStandardPaths::HomeLocation))), + m_shaderPackPath(QString::fromLatin1("/usr/share/komplex/packs/default")), + m_shaderPackInstallPath(QString::fromLatin1("/usr/share/komplex/packs")), + m_shadersPath(QString::fromLatin1("/usr/share/komplex/shaders")), + m_imagesPath(QString::fromLatin1("/usr/share/komplex/images")), + m_cubeMapsPath(QString::fromLatin1("/usr/share/komplex/cubemaps")), + m_videosPath(QString::fromLatin1("/usr/share/komplex/videos")), m_json(QString()) { }