Compare commits

..

No commits in common. "1a8e3d5ab2789b5c145fea55accdc4a8e81ef059" and "1beb900455c4d54b258a576f44afa7b93c58eee4" have entirely different histories.

2 changed files with 0 additions and 20 deletions

View File

@ -69,11 +69,6 @@ jobs:
- name: Check if svg file exists - name: Check if svg file exists
run: if [ ! -f "${targetName}.svg" ]; then echo "File not found, creating..."; touch ${targetName}.svg; fi run: if [ ! -f "${targetName}.svg" ]; then echo "File not found, creating..."; touch ${targetName}.svg; fi
- name: Copy translation files
run: |
mkdir -p bin/release/usr/bin/
cp -r bin/Release/i18n/ bin/release/usr/bin/i18n/
- name: package - name: package
run: | run: |
# make sure Qt plugin finds QML sources so it can deploy the imported files # make sure Qt plugin finds QML sources so it can deploy the imported files

View File

@ -282,22 +282,7 @@ QString FluTools::getWallpaperFilePath() {
auto path = result.mid(startIndex + 7, result.length() - startIndex - 8); auto path = result.mid(startIndex + 7, result.length() - startIndex - 8);
return path; return path;
} }
} else if (type == "ubuntu") {
QProcess process;
QStringList args;
args << "get";
args << "org.gnome.desktop.background";
args << "picture-uri";
process.start("gsettings", args);
process.waitForFinished();
QByteArray result = process.readAllStandardOutput().trimmed();
result = result.mid(1, result.length() - 2);
if (result.startsWith("file:///")) {
auto path = result.mid(7);
return path;
}
} }
return {};
#elif defined(Q_OS_MACOS) #elif defined(Q_OS_MACOS)
QProcess process; QProcess process;
QStringList args; QStringList args;