From 4ddb7273098bee179bb77e0937e560fc0100960c Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 4 Aug 2022 09:50:48 +0300 Subject: Add anki addons --- .../Background_and_gear/gui/resources/__init__.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py (limited to '.local/share/Anki2/addons21/Background_and_gear/gui/resources') diff --git a/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py b/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py new file mode 100644 index 0000000..d0c427c --- /dev/null +++ b/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# +# Custom background and gear icon Add-on for Anki +# Copyright (C) 2022 +# +# This file was automatically generated by Anki Add-on Builder v1.0.0-dev.2 +# It is subject to the same licensing terms as the rest of the program +# (see the LICENSE file which accompanies this program). +# +# WARNING! All changes made in this file will be lost! + +""" +Initializes generated Qt forms/resources +""" + +from pathlib import Path +from aqt.qt import QDir + +def initialize_qt_resources(): + QDir.addSearchPath("CustomBackground", str(Path(__file__).parent / "CustomBackground")) + +initialize_qt_resources() -- cgit v1.2.3