GameSentenceMiner 2.8.15__py3-none-any.whl → 2.8.16__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 +2 -0
- GameSentenceMiner/downloader/download_tools.py +2 -2
- {gamesentenceminer-2.8.15.dist-info → gamesentenceminer-2.8.16.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.8.15.dist-info → gamesentenceminer-2.8.16.dist-info}/RECORD +8 -8
- {gamesentenceminer-2.8.15.dist-info → gamesentenceminer-2.8.16.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.8.15.dist-info → gamesentenceminer-2.8.16.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.8.15.dist-info → gamesentenceminer-2.8.16.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.8.15.dist-info → gamesentenceminer-2.8.16.dist-info}/top_level.txt +0 -0
GameSentenceMiner/config_gui.py
CHANGED
@@ -1171,6 +1171,8 @@ class ConfigApp:
|
|
1171
1171
|
def download_and_install_ocen(self):
|
1172
1172
|
confirm = messagebox.askyesno("Download OcenAudio?", "Would you like to download and install OcenAudio? It is a free audio editing software that works extremely well with GSM.")
|
1173
1173
|
if confirm:
|
1174
|
+
self.external_tool.delete(0, tk.END)
|
1175
|
+
self.external_tool.insert(0, "Downloading OcenAudio...")
|
1174
1176
|
exe_path = download_ocenaudio_if_needed()
|
1175
1177
|
messagebox.showinfo("OcenAudio Downloaded", f"OcenAudio has been downloaded and installed. You can find it at {exe_path}.")
|
1176
1178
|
self.external_tool.delete(0, tk.END)
|
@@ -151,7 +151,7 @@ def download_ffmpeg_if_needed():
|
|
151
151
|
logger.info(f"FFmpeg extracted to {ffmpeg_dir}.")
|
152
152
|
|
153
153
|
def download_ocenaudio_if_needed():
|
154
|
-
ocenaudio_dir = os.path.join(get_app_directory(), 'ocenaudio'
|
154
|
+
ocenaudio_dir = os.path.join(get_app_directory(), 'ocenaudio')
|
155
155
|
ocenaudio_exe_path = os.path.join(ocenaudio_dir, 'ocenaudio.exe')
|
156
156
|
if os.path.exists(ocenaudio_dir) and os.path.exists(ocenaudio_exe_path):
|
157
157
|
logger.info(f"Ocenaudio already installed at {ocenaudio_dir}.")
|
@@ -173,7 +173,7 @@ def download_ocenaudio_if_needed():
|
|
173
173
|
|
174
174
|
os.makedirs(ocenaudio_dir, exist_ok=True)
|
175
175
|
with zipfile.ZipFile(ocenaudio_archive, 'r') as zip_ref:
|
176
|
-
zip_ref.extractall(
|
176
|
+
zip_ref.extractall(get_app_directory())
|
177
177
|
|
178
178
|
logger.info(f"Ocenaudio extracted to {ocenaudio_dir}.")
|
179
179
|
return ocenaudio_exe_path
|
@@ -1,6 +1,6 @@
|
|
1
1
|
GameSentenceMiner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
GameSentenceMiner/anki.py,sha256=OCLgZa-iEp93v-R0zKFkDCjule_EAoP5rIqtnMHLnOw,14226
|
3
|
-
GameSentenceMiner/config_gui.py,sha256
|
3
|
+
GameSentenceMiner/config_gui.py,sha256=OvbRr2JvkDrWDHAYhg1DBUafaZTzB8w1Ja_uhQWBF2Q,73877
|
4
4
|
GameSentenceMiner/configuration.py,sha256=-De0KfXu0jHTPl0xyktUxT-_fNUS_AK7nmzblKXRdGc,22525
|
5
5
|
GameSentenceMiner/electron_config.py,sha256=dGcPYCISPehXubYSzsDuI2Gl092MYK0u3bTnkL9Jh1Y,9787
|
6
6
|
GameSentenceMiner/ffmpeg.py,sha256=lLZ9v8_h5wfenLC6W36Ikt0Q7HQrChxsZ6lPk2umXjI,14658
|
@@ -19,7 +19,7 @@ GameSentenceMiner/communication/send.py,sha256=oOJdCS6-LNX90amkRn5FL2xqx6THGm56z
|
|
19
19
|
GameSentenceMiner/communication/websocket.py,sha256=pTcUe_ZZRp9REdSU4qalhPmbT_1DKa7w18j6RfFLELA,3074
|
20
20
|
GameSentenceMiner/downloader/Untitled_json.py,sha256=RUUl2bbbCpUDUUS0fP0tdvf5FngZ7ILdA_J5TFYAXUQ,15272
|
21
21
|
GameSentenceMiner/downloader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
|
-
GameSentenceMiner/downloader/download_tools.py,sha256=
|
22
|
+
GameSentenceMiner/downloader/download_tools.py,sha256=aRfpCqEmKUFRVsGipwY-7PhY6AeWiFJanW4ZCB9e2iE,8124
|
23
23
|
GameSentenceMiner/downloader/oneocr_dl.py,sha256=o3ANp5IodEQoQ8GPcJdg9Y8JzA_lictwnebFPwwUZVk,10144
|
24
24
|
GameSentenceMiner/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
25
|
GameSentenceMiner/ocr/gsm_ocr_config.py,sha256=rQC6C8PKJXWoAvwCOYa363kodQQBwl1YNeYsD0bBbx4,1957
|
@@ -51,9 +51,9 @@ GameSentenceMiner/web/static/web-app-manifest-512x512.png,sha256=wyqgCWCrLEUxSRX
|
|
51
51
|
GameSentenceMiner/web/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
52
52
|
GameSentenceMiner/web/templates/text_replacements.html,sha256=tV5c8mCaWSt_vKuUpbdbLAzXZ3ATZeDvQ9PnnAfqY0M,8598
|
53
53
|
GameSentenceMiner/web/templates/utility.html,sha256=NUp4Yjs6_j7YeqsM2rcF0LzwS6nXSBUWJDl-k2E8BbM,16270
|
54
|
-
gamesentenceminer-2.8.
|
55
|
-
gamesentenceminer-2.8.
|
56
|
-
gamesentenceminer-2.8.
|
57
|
-
gamesentenceminer-2.8.
|
58
|
-
gamesentenceminer-2.8.
|
59
|
-
gamesentenceminer-2.8.
|
54
|
+
gamesentenceminer-2.8.16.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
55
|
+
gamesentenceminer-2.8.16.dist-info/METADATA,sha256=xYCO06sCETSwSn0_s5kHbMu5gGbkXDM6v_cZv_fYKyw,5933
|
56
|
+
gamesentenceminer-2.8.16.dist-info/WHEEL,sha256=GHB6lJx2juba1wDgXDNlMTyM13ckjBMKf-OnwgKOCtA,91
|
57
|
+
gamesentenceminer-2.8.16.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
58
|
+
gamesentenceminer-2.8.16.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
59
|
+
gamesentenceminer-2.8.16.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|