GameSentenceMiner 2.1.2__py3-none-any.whl → 2.1.2.post1__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/config_gui.py +1 -1
- GameSentenceMiner/package_updater.py +4 -1
- {GameSentenceMiner-2.1.2.dist-info → GameSentenceMiner-2.1.2.post1.dist-info}/METADATA +1 -1
- {GameSentenceMiner-2.1.2.dist-info → GameSentenceMiner-2.1.2.post1.dist-info}/RECORD +7 -7
- {GameSentenceMiner-2.1.2.dist-info → GameSentenceMiner-2.1.2.post1.dist-info}/WHEEL +0 -0
- {GameSentenceMiner-2.1.2.dist-info → GameSentenceMiner-2.1.2.post1.dist-info}/entry_points.txt +0 -0
- {GameSentenceMiner-2.1.2.dist-info → GameSentenceMiner-2.1.2.post1.dist-info}/top_level.txt +0 -0
GameSentenceMiner/config_gui.py
CHANGED
@@ -93,7 +93,7 @@ class ConfigApp:
|
|
93
93
|
def update_now(self):
|
94
94
|
update_available, version = check_for_updates()
|
95
95
|
if update_available:
|
96
|
-
messagebox.showinfo("Update", "GSM
|
96
|
+
messagebox.showinfo("Update", "GSM Will Copy the Update Command to your clipboard, please run it in a terminal.")
|
97
97
|
success = update()
|
98
98
|
if not success:
|
99
99
|
messagebox.showinfo("Update Unsuccessful", "Couldn't Start Update, please update manually.")
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import os
|
2
2
|
from importlib import metadata
|
3
3
|
import sys
|
4
|
+
|
5
|
+
import pyperclip
|
4
6
|
import requests
|
5
7
|
|
6
8
|
from .configuration import logger, get_app_directory
|
@@ -40,7 +42,8 @@ def check_for_updates(force=False):
|
|
40
42
|
|
41
43
|
def update():
|
42
44
|
try:
|
43
|
-
|
45
|
+
pyperclip.copy("pip install --upgrade GameSentenceMiner")
|
46
|
+
exit()
|
44
47
|
except Exception as e:
|
45
48
|
logger.error(f"Error updating {PACKAGE_NAME}: {e}")
|
46
49
|
return False
|
@@ -1,6 +1,6 @@
|
|
1
1
|
GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
GameSentenceMiner/anki.py,sha256=3UT6K5PxzJMDoiXyOULrkeCoJ0KMq7JvBw6XhcLCirE,9114
|
3
|
-
GameSentenceMiner/config_gui.py,sha256=
|
3
|
+
GameSentenceMiner/config_gui.py,sha256=R16wJtFxPcqIixnKmxy3iIlpEIqFJwKmxXS7AoZVO0Y,48968
|
4
4
|
GameSentenceMiner/configuration.py,sha256=CSg67qIzEdj_w-dS-NEls9syyTeJD3rfPrwSZLomFcU,14029
|
5
5
|
GameSentenceMiner/ffmpeg.py,sha256=hdKimzkpAKsE-17qEAQg4uHy4-TtdFywYx48Skn9cPs,10418
|
6
6
|
GameSentenceMiner/gametext.py,sha256=GpR9P8h3GmmKH46Dw13kJPx66n3jGjFCiV8Fcrqn9E8,3999
|
@@ -8,14 +8,14 @@ GameSentenceMiner/gsm.py,sha256=GqMNcb8w117clJfFiNLhDbZ8eOFQTyVhejrjHvsBJXo,1507
|
|
8
8
|
GameSentenceMiner/model.py,sha256=oh8VVT8T1UKekbmP6MGNgQ8jIuQ_7Rg4GPzDCn2kJo8,1999
|
9
9
|
GameSentenceMiner/notification.py,sha256=sWgIIXhaB9WV1K_oQGf5-IR6q3dakae_QS-RuIvbcEs,1939
|
10
10
|
GameSentenceMiner/obs.py,sha256=gutnRk30jIxuvrpEosR9jw2h_tll36wgtAZkUF-vWDY,5256
|
11
|
-
GameSentenceMiner/package_updater.py,sha256=
|
11
|
+
GameSentenceMiner/package_updater.py,sha256=aexojWH6JcDt01ZcxZN5bHdt_TFxWgPKC4w-Pvjp_dQ,1469
|
12
12
|
GameSentenceMiner/util.py,sha256=OYg0j_rT9F7v3aJRwWnHvdWMYyxGlimrvw7U2C9ifeY,4441
|
13
13
|
GameSentenceMiner/vad/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
14
|
GameSentenceMiner/vad/silero_trim.py,sha256=r7bZYEj-NUXGKgD2UIhLrbTPyq0rau97qGtrMZcRK4A,1517
|
15
15
|
GameSentenceMiner/vad/vosk_helper.py,sha256=lWmlGMhmg_0QoWeCHrXwz9wDKPqY37BckHCekGVtJUI,5794
|
16
16
|
GameSentenceMiner/vad/whisper_helper.py,sha256=9kmPeSs6jRcKSVxYY-vtyTcqVUDORR4q1nl8fqxHHn4,3379
|
17
|
-
GameSentenceMiner-2.1.2.dist-info/METADATA,sha256=
|
18
|
-
GameSentenceMiner-2.1.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
19
|
-
GameSentenceMiner-2.1.2.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
20
|
-
GameSentenceMiner-2.1.2.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
21
|
-
GameSentenceMiner-2.1.2.dist-info/RECORD,,
|
17
|
+
GameSentenceMiner-2.1.2.post1.dist-info/METADATA,sha256=w3DyH8RZX7bSR3VmuPNz9zCyCLIGsLWL0WuiilXIHVU,13541
|
18
|
+
GameSentenceMiner-2.1.2.post1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
19
|
+
GameSentenceMiner-2.1.2.post1.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
20
|
+
GameSentenceMiner-2.1.2.post1.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
21
|
+
GameSentenceMiner-2.1.2.post1.dist-info/RECORD,,
|
File without changes
|
{GameSentenceMiner-2.1.2.dist-info → GameSentenceMiner-2.1.2.post1.dist-info}/entry_points.txt
RENAMED
File without changes
|
File without changes
|