GameSentenceMiner 2.18.1__py3-none-any.whl → 2.18.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- GameSentenceMiner/util/configuration.py +2 -1
- GameSentenceMiner/util/get_overlay_coords.py +1 -0
- {gamesentenceminer-2.18.1.dist-info → gamesentenceminer-2.18.2.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.18.1.dist-info → gamesentenceminer-2.18.2.dist-info}/RECORD +8 -8
- {gamesentenceminer-2.18.1.dist-info → gamesentenceminer-2.18.2.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.18.1.dist-info → gamesentenceminer-2.18.2.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.18.1.dist-info → gamesentenceminer-2.18.2.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.18.1.dist-info → gamesentenceminer-2.18.2.dist-info}/top_level.txt +0 -0
|
@@ -864,10 +864,11 @@ class Config:
|
|
|
864
864
|
# Add a way to migrate certain things based on version if needed, also help with better defaults
|
|
865
865
|
if self.version:
|
|
866
866
|
if self.version != get_current_version():
|
|
867
|
+
from packaging import version
|
|
867
868
|
logger.info(f"Config version mismatch detected: {self.version} != {get_current_version()}")
|
|
868
869
|
# Handle version mismatch
|
|
869
870
|
changed = False
|
|
870
|
-
if self.version < "2.18.0":
|
|
871
|
+
if version.parse(self.version) < version.parse("2.18.0"):
|
|
871
872
|
changed = True
|
|
872
873
|
# Example, doesn't need to be done
|
|
873
874
|
for profile in self.configs.values():
|
|
@@ -188,6 +188,7 @@ class OverlayProcessor:
|
|
|
188
188
|
For primary monitor, excludes taskbar. For others, returns full monitor area.
|
|
189
189
|
monitor_index: 0 = primary monitor, 1+ = others (as in mss.monitors).
|
|
190
190
|
"""
|
|
191
|
+
set_dpi_awareness()
|
|
191
192
|
with mss.mss() as sct:
|
|
192
193
|
monitors = sct.monitors[1:]
|
|
193
194
|
return monitors[monitor_index] if 0 <= monitor_index < len(monitors) else monitors[0]
|
|
@@ -40,11 +40,11 @@ GameSentenceMiner/ui/anki_confirmation.py,sha256=m27IcWbUwb6o6Klh3NwXBc2FtMX9Da3
|
|
|
40
40
|
GameSentenceMiner/ui/config_gui.py,sha256=Nt6uuJrinOrSpDdrw92zdd1GvyQNjOoGvkZQdGWA9ds,151913
|
|
41
41
|
GameSentenceMiner/ui/screenshot_selector.py,sha256=AKML87MpgYQeSuj1F10GngpNrn9qp06zLLzNRwrQWM8,8900
|
|
42
42
|
GameSentenceMiner/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
|
-
GameSentenceMiner/util/configuration.py,sha256=
|
|
43
|
+
GameSentenceMiner/util/configuration.py,sha256=fYlU4Qrr6T-k_G2MY2rgoQ9EV_k7XBfbtsO8q7PKTsU,46653
|
|
44
44
|
GameSentenceMiner/util/db.py,sha256=3Fs75pGJyf8-3y3k6Zfpgp8z9tYL9-ZvQUk_FgDc9Vw,28664
|
|
45
45
|
GameSentenceMiner/util/electron_config.py,sha256=KfeJToeFFVw0IR5MKa-gBzpzaGrU-lyJbR9z-sDEHYU,8767
|
|
46
46
|
GameSentenceMiner/util/ffmpeg.py,sha256=cAzztfY36Xf2WvsJDjavoiMOvA9ac2GVdCrSB4LzHk4,29007
|
|
47
|
-
GameSentenceMiner/util/get_overlay_coords.py,sha256=
|
|
47
|
+
GameSentenceMiner/util/get_overlay_coords.py,sha256=iAA49bF_8jJXNR6bEGEVAuXsUwYMW5tcfnCGiLyAzso,22172
|
|
48
48
|
GameSentenceMiner/util/gsm_utils.py,sha256=mASECTmN10c2yPL4NEfLg0Y0YWwFso1i6r_hhJPR3MY,10974
|
|
49
49
|
GameSentenceMiner/util/model.py,sha256=R-_RYTYLSDNgBoVTPuPBcIHeOznIqi_vBzQ7VQ20WYk,6727
|
|
50
50
|
GameSentenceMiner/util/notification.py,sha256=YBhf_mSo_i3cjBz-pmeTPx3wchKiG9BK2VBdZSa2prQ,4597
|
|
@@ -124,9 +124,9 @@ GameSentenceMiner/web/templates/components/kanji_grid/thousand_character_classic
|
|
|
124
124
|
GameSentenceMiner/web/templates/components/kanji_grid/wanikani_levels.json,sha256=8wjnnaYQqmho6t5tMxrIAc03512A2tYhQh5dfsQnfAM,11372
|
|
125
125
|
GameSentenceMiner/web/templates/components/kanji_grid/words_hk_frequency_list.json,sha256=wRkqZNPzz6DT9OTPHpXwfqW96Qb96stCQNNgOL-ZdKk,17535
|
|
126
126
|
GameSentenceMiner/wip/__init___.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
127
|
-
gamesentenceminer-2.18.
|
|
128
|
-
gamesentenceminer-2.18.
|
|
129
|
-
gamesentenceminer-2.18.
|
|
130
|
-
gamesentenceminer-2.18.
|
|
131
|
-
gamesentenceminer-2.18.
|
|
132
|
-
gamesentenceminer-2.18.
|
|
127
|
+
gamesentenceminer-2.18.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
128
|
+
gamesentenceminer-2.18.2.dist-info/METADATA,sha256=ur53IngoSZHHs1vyMxSPuwZJhbkyBJajZ9exWCn8zQY,7487
|
|
129
|
+
gamesentenceminer-2.18.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
130
|
+
gamesentenceminer-2.18.2.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
|
131
|
+
gamesentenceminer-2.18.2.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
|
132
|
+
gamesentenceminer-2.18.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|