🔨 refactor(IDK): no message!

This commit is contained in:
Eshan Roy
2024-11-27 15:30:16 +05:30
parent 12bce14892
commit cfa8375dc5
4 changed files with 64 additions and 8 deletions

File diff suppressed because one or more lines are too long

View 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>

View File

@@ -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

View File

@@ -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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;A penetration testing tool for detecting and exploiting XSS vulnerabilites&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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">