GameSentenceMiner 2.10.15__py3-none-any.whl → 2.10.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/util/downloader/download_tools.py +9 -2
- {gamesentenceminer-2.10.15.dist-info → gamesentenceminer-2.10.16.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.10.15.dist-info → gamesentenceminer-2.10.16.dist-info}/RECORD +7 -7
- {gamesentenceminer-2.10.15.dist-info → gamesentenceminer-2.10.16.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.10.15.dist-info → gamesentenceminer-2.10.16.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.10.15.dist-info → gamesentenceminer-2.10.16.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.10.15.dist-info → gamesentenceminer-2.10.16.dist-info}/top_level.txt +0 -0
@@ -40,12 +40,19 @@ def download_obs_if_needed():
|
|
40
40
|
logger.info("OBS directory exists but executable is missing. Re-downloading OBS...")
|
41
41
|
shutil.rmtree(obs_path)
|
42
42
|
|
43
|
+
def get_windows_obs_url():
|
44
|
+
machine = platform.machine().lower()
|
45
|
+
if machine in ['arm64', 'aarch64']:
|
46
|
+
return next(asset['browser_download_url'] for asset in latest_release['assets'] if
|
47
|
+
asset['name'].endswith('Windows-arm64.zip'))
|
48
|
+
return next(asset['browser_download_url'] for asset in latest_release['assets'] if
|
49
|
+
asset['name'].endswith('Windows-x64.zip'))
|
50
|
+
|
43
51
|
latest_release_url = "https://api.github.com/repos/obsproject/obs-studio/releases/latest"
|
44
52
|
with urllib.request.urlopen(latest_release_url) as response:
|
45
53
|
latest_release = json.load(response)
|
46
54
|
obs_url = {
|
47
|
-
"Windows":
|
48
|
-
asset['name'].endswith('Windows.zip')),
|
55
|
+
"Windows": get_windows_obs_url(),
|
49
56
|
"Linux": next(asset['browser_download_url'] for asset in latest_release['assets'] if
|
50
57
|
asset['name'].endswith('Ubuntu-24.04-x86_64.deb')),
|
51
58
|
"Darwin": next(asset['browser_download_url'] for asset in latest_release['assets'] if
|
@@ -44,7 +44,7 @@ GameSentenceMiner/util/communication/send.py,sha256=Wki9qIY2CgYnuHbmnyKVIYkcKAN_
|
|
44
44
|
GameSentenceMiner/util/communication/websocket.py,sha256=TbphRGmxVrgEupS7tNdifsmQfWDfIp0Hio2cSiUKgsk,3317
|
45
45
|
GameSentenceMiner/util/downloader/Untitled_json.py,sha256=RUUl2bbbCpUDUUS0fP0tdvf5FngZ7ILdA_J5TFYAXUQ,15272
|
46
46
|
GameSentenceMiner/util/downloader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
47
|
-
GameSentenceMiner/util/downloader/download_tools.py,sha256=
|
47
|
+
GameSentenceMiner/util/downloader/download_tools.py,sha256=zR-aEHiFVkyo-9oPoSx6nQ2K-_J8WBHLZyLoOhypsW4,8458
|
48
48
|
GameSentenceMiner/util/downloader/oneocr_dl.py,sha256=EJbKISaZ9p2x9P4x0rpMM5nAInTTc9b7arraGBcd-SA,10381
|
49
49
|
GameSentenceMiner/web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
50
50
|
GameSentenceMiner/web/service.py,sha256=S7bYf2kSk08u-8R9Qpv7piM-pxfFjYZUvU825xupmuI,5279
|
@@ -62,9 +62,9 @@ GameSentenceMiner/web/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
|
|
62
62
|
GameSentenceMiner/web/templates/index.html,sha256=n0J-dV8eksj8JXUuaCTIh0fIxIjfgm2EvxGBdQ6gWoM,214113
|
63
63
|
GameSentenceMiner/web/templates/text_replacements.html,sha256=tV5c8mCaWSt_vKuUpbdbLAzXZ3ATZeDvQ9PnnAfqY0M,8598
|
64
64
|
GameSentenceMiner/web/templates/utility.html,sha256=3flZinKNqUJ7pvrZk6xu__v67z44rXnaK7UTZ303R-8,16946
|
65
|
-
gamesentenceminer-2.10.
|
66
|
-
gamesentenceminer-2.10.
|
67
|
-
gamesentenceminer-2.10.
|
68
|
-
gamesentenceminer-2.10.
|
69
|
-
gamesentenceminer-2.10.
|
70
|
-
gamesentenceminer-2.10.
|
65
|
+
gamesentenceminer-2.10.16.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
66
|
+
gamesentenceminer-2.10.16.dist-info/METADATA,sha256=ZO5dqi5iFcZ0AgknR8Pg2csSPhA8_8bnM7uHLRYpBWM,7355
|
67
|
+
gamesentenceminer-2.10.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
68
|
+
gamesentenceminer-2.10.16.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
69
|
+
gamesentenceminer-2.10.16.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
70
|
+
gamesentenceminer-2.10.16.dist-info/RECORD,,
|
File without changes
|
{gamesentenceminer-2.10.15.dist-info → gamesentenceminer-2.10.16.dist-info}/entry_points.txt
RENAMED
File without changes
|
{gamesentenceminer-2.10.15.dist-info → gamesentenceminer-2.10.16.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|