update project dependencies and add schemas

This commit is contained in:
Aliberk Sandıkçı 2024-06-22 02:40:53 +03:00
parent fbfe3ea2f7
commit b4ea83e602
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
4 changed files with 17 additions and 0 deletions

View File

@ -21,4 +21,9 @@ in pkgs.mkShell {
python-pkgs.debian
]))
];
shellHook = ''
export GSETTINGS_SCHEMAS_PATH="$(pwd "$0")/schemas:$GSETTINGS_SCHEMAS_PATH"
export GSETTINGS_SCHEMA_DIR="$(pwd "$0")/schemas:$GSETTINGS_SCHEMA_DIR"
export XDG_DATA_DIRS="$(pwd "$0")/schemas:$XDG_DATA_DIRS"
'';
}

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<schema id="com.asandikci.pardus-security-center" path="/com/asandikci/pardus-security-center/">
<key name="first-run" type="b">
<default>true</default>
<summary>First Run</summary>
<description>Did application run before or is this first run?</description>
</key>
</schema>
</schemalist>

2
schemas/compile-schemas.sh Executable file
View File

@ -0,0 +1,2 @@
cd $(dirname "$0")
glib-compile-schemas .

BIN
schemas/gschemas.compiled Normal file

Binary file not shown.