From 95853bb603efacc9890f2b86bd28b0377e448ee5 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Thu, 1 Sep 2022 07:46:56 +0300 Subject: Re-add anki addons --- .../Background_and_gear/gui/resources/__init__.py | 22 +++++++++++++++++++++ .../__pycache__/__init__.cpython-39.opt-2.pyc | Bin 0 -> 463 bytes 2 files changed, 22 insertions(+) create mode 100644 .local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py create mode 100644 .local/share/Anki2/addons21/Background_and_gear/gui/resources/__pycache__/__init__.cpython-39.opt-2.pyc (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() diff --git a/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__pycache__/__init__.cpython-39.opt-2.pyc b/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__pycache__/__init__.cpython-39.opt-2.pyc new file mode 100644 index 0000000..3cd8259 Binary files /dev/null and b/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__pycache__/__init__.cpython-39.opt-2.pyc differ -- cgit v1.2.3