Refactoring repository...
Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run

This commit is contained in:
CELESTIFYX
2025-01-14 19:02:06 +02:00
parent 876fa0988e
commit 08abac9e7d
33171 changed files with 4677 additions and 761 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Check if pkexec exists and is executable
if command -v pkexec &>/dev/null; then
# Use pkexec to run calamares with administrative privileges
pkexec --disable-internal-agent /usr/bin/calamares "$@"
else
# Fallback to running calamares without administrative privileges
/usr/bin/calamares "$@"
fi