mirror of
https://github.com/Snigdha-OS/snigdhaos-falcon.git
synced 2025-09-20 15:24:55 +02:00
🔨 refactor(IDK): no message!
This commit is contained in:
File diff suppressed because one or more lines are too long
21
org.snigdhaos.snigdhaos-falcon.pkexec.policy
Normal file
21
org.snigdhaos.snigdhaos-falcon.pkexec.policy
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
|
||||
<policyconfig>
|
||||
|
||||
<vendor>snigdhaos-falcon</vendor>
|
||||
<vendor_url>http://snigdhaos.org/</vendor_url>
|
||||
|
||||
<action id="org.snigdhaos.snigdhaos-falcon.pkexec.policy.run-root-terminal">
|
||||
<_description>Execute Snigdha OS Falcon Application</_description>
|
||||
<_message>Authentication is required to install/remove packages.</_message>
|
||||
<icon_name>snigdhaos-falcon</icon_name>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/share/snigdhaos/scripts/snigdhaos-falcon/shellrunner.sh</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
@@ -11,6 +11,31 @@ CONFIG += c++17
|
||||
|
||||
BUILD_PREFIX = $$(CA_BUILD_DIR)
|
||||
|
||||
isEmpty(BUILD_PREFIX) {
|
||||
BUILD_PREFIX = ./build
|
||||
}
|
||||
|
||||
MOC_DIR = $$BUILD_PREFIX/moc-qt6
|
||||
OBJECTS_DIR = $$BUILD_PREFIX/obj-qt6
|
||||
UI_DIR = $$BUILD_PREFIX/uic-qt6
|
||||
|
||||
unix {
|
||||
isEmpty(PREFIX){
|
||||
PREFIX = /usr
|
||||
}
|
||||
BINDIR = $$PREFIX/bin
|
||||
target.path = $$BINDIR
|
||||
desktop.path = $$PREFIX/share/applocations/
|
||||
desktop.files = "snigdhaos-falcon.desktop"
|
||||
icons.path = /usr/share/icons/hicolor/scalable/apps/
|
||||
icons.files = snigdhaos-falcon.svg
|
||||
|
||||
SCRIPTS_PATH = $$PREFIX/share/snigdhaos/
|
||||
scripts.files = scripts
|
||||
scripts.path = $$SCRIPTS_PATH
|
||||
|
||||
INSTALLS += target icons desktop scripts
|
||||
}
|
||||
|
||||
SOURCES += \
|
||||
main.cpp \
|
||||
@@ -24,10 +49,11 @@ FORMS += \
|
||||
|
||||
TRANSLATIONS += \
|
||||
snigdhaos-falcon_en_US.ts
|
||||
CONFIG += lrelease
|
||||
CONFIG += embed_translations
|
||||
|
||||
# Default rules for deployment.
|
||||
qnx: target.path = /tmp/$${TARGET}/bin
|
||||
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||
!isEmpty(target.path): INSTALLS += target
|
||||
# CONFIG += lrelease
|
||||
# CONFIG += embed_translations
|
||||
|
||||
# # Default rules for deployment.
|
||||
# qnx: target.path = /tmp/$${TARGET}/bin
|
||||
# else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||
# !isEmpty(target.path): INSTALLS += target
|
||||
|
@@ -44,7 +44,7 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<y>-540</y>
|
||||
<width>744</width>
|
||||
<height>2125</height>
|
||||
</rect>
|
||||
@@ -381,6 +381,9 @@
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QCheckBox" name="checkBox_xsser">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>A penetration testing tool for detecting and exploiting XSS vulnerabilites</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>XSSer</string>
|
||||
</property>
|
||||
@@ -393,6 +396,12 @@
|
||||
<height>42</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="tristate">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="packageName" stdset="0">
|
||||
<string>xsser</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
|
Reference in New Issue
Block a user