Skip to content

Commit e7bde07

Browse files
committed
revert runpath change
1 parent 5ffef69 commit e7bde07

4 files changed

Lines changed: 6 additions & 28 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "tc2-launcher"
3-
version = "1.0.13"
3+
version = "1.0.14"
44
description = ""
55
authors = [
66
{name = "mastercoms",email = "mastercoms@tuta.io"}

tc2_launcher/env.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@
2626
def get_host_lib_paths() -> str:
2727
"""Discover host library directories as /run/host/ paths for use inside
2828
the Sniper container, where the host filesystem is mounted at /run/host/.
29-
30-
Scans HOST_LIB_DIRS and their immediate subdirectories that contain .so
31-
files (catches RUNPATH-resolved private dirs like /usr/lib64/pulseaudio/).
32-
Deduplicates via realpath to avoid redundant entries (e.g. /usr/lib64 -> /usr/lib).
3329
"""
3430
seen: set[str] = set()
3531
paths: list[str] = []
@@ -41,24 +37,6 @@ def get_host_lib_paths() -> str:
4137
seen.add(real_dir)
4238
paths.append("/run/host" + host_dir)
4339

44-
try:
45-
with os.scandir(real_dir) as it:
46-
for entry in it:
47-
if not entry.is_dir(follow_symlinks=False):
48-
continue
49-
try:
50-
with os.scandir(entry.path) as sub_it:
51-
if any(
52-
f.name.endswith(".so") or ".so." in f.name
53-
for f in sub_it
54-
if f.is_file(follow_symlinks=False)
55-
):
56-
paths.append("/run/host" + os.path.join(host_dir, entry.name))
57-
except OSError:
58-
continue
59-
except OSError:
60-
continue
61-
6240
return os.pathsep.join(paths)
6341

6442

tc2_launcher/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sys
22

3-
VERSION = (1, 0, 13)
3+
VERSION = (1, 0, 14)
44
VERSION_STR = ".".join(map(str, VERSION))
55
DEV_INSTANCE = not getattr(sys, "frozen", False)

version.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ VSVersionInfo(
66
ffi=FixedFileInfo(
77
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
88
# Set not needed items to zero 0.
9-
filevers=(1, 0, 13, 0),
10-
prodvers=(1, 0, 13, 0),
9+
filevers=(1, 0, 14, 0),
10+
prodvers=(1, 0, 14, 0),
1111
# Contains a bitmask that specifies the valid bits 'flags'r
1212
mask=0x0,
1313
# Contains a bitmask that specifies the Boolean attributes of the file.
@@ -31,12 +31,12 @@ StringFileInfo(
3131
u'040904B0',
3232
[StringStruct(u'CompanyName', u'mastercomfig'),
3333
StringStruct(u'FileDescription', u'TC2 Launcher'),
34-
StringStruct(u'FileVersion', u'1.0.13.0'),
34+
StringStruct(u'FileVersion', u'1.0.14.0'),
3535
StringStruct(u'InternalName', u'tc2_launcher'),
3636
StringStruct(u'LegalCopyright', u'Copyright © mastercomfig'),
3737
StringStruct(u'OriginalFilename', u'TC2Launcher.exe'),
3838
StringStruct(u'ProductName', u'TC2 Launcher'),
39-
StringStruct(u'ProductVersion', u'1.0.13.0')])
39+
StringStruct(u'ProductVersion', u'1.0.14.0')])
4040
]),
4141
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
4242
]

0 commit comments

Comments
 (0)