Skip to content

Windows Compatibility lost with v1.0.0 #58

Description

@JayWiz

I updated from v0.9.6. to v1.0.0. on an ubuntu and a windows system and realized that windows compatibility is gone with v1.0.0.

more specifically, these two lines cause an exception (Failed to load the NCU injection library):

inj_lib_path = os.path.join(inj_dir, "libcuda-injection.so")

and

if os.name != "posix":

Changing L 145 to

inj_lib_path = os.path.join(inj_dir, "cuda-injection.dll") if os.name =="nt" else os.path.join(inj_dir, "libcuda-injection.so")

and L 117 to

if os.name != "posix" and os.name != "nt":

fixes the issue.


Are you planning to drop Windows Support in Future or should i prepare a PR?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions