kde-applications

This commit is contained in:
Rmys
2025-01-22 23:12:25 +03:00
parent f1191ad5e5
commit 3503c99a37
31 changed files with 685 additions and 4027 deletions
@@ -7,19 +7,19 @@ diff -Nuar a/src/main.cpp b/src/main.cpp
// Prohibit using sudo or kdesu (but allow using the root user directly)
- if (getuid() == 0) {
- if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
- std::cout << "Running Dolphin with sudo can cause bugs and expose you to security vulnerabilities." << std::endl;
- std::cout << "Running dolphin with sudo can cause bugs and expose you to security vulnerabilities." << std::endl;
- return EXIT_FAILURE;
- } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
- std::cout << "Running Dolphin with kdesu can cause bugs and expose you to security vulnerabilities." << std::endl;
- } else if (!qEnvironmentVariableIsEmpty("kdesu_USER")) {
- std::cout << "Running dolphin with kdesu can cause bugs and expose you to security vulnerabilities." << std::endl;
- return EXIT_FAILURE;
- }
- }
+ //if (getuid() == 0) {
+ // if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
+ // std::cout << "Running Dolphin with sudo can cause bugs and expose you to security vulnerabilities." << std::endl;
+ // std::cout << "Running dolphin with sudo can cause bugs and expose you to security vulnerabilities." << std::endl;
+ // return EXIT_FAILURE;
+ //} else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
+ // std::cout << "Running Dolphin with kdesu can cause bugs and expose you to security vulnerabilities." << std::endl;
+ //} else if (!qEnvironmentVariableIsEmpty("kdesu_USER")) {
+ // std::cout << "Running dolphin with kdesu can cause bugs and expose you to security vulnerabilities." << std::endl;
+ //return EXIT_FAILURE;
+ //}
+ //}