mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 18:01:09 +00:00
Merge pull request #19768 from KellyThomas/env-string
mono: convert unicode mono root path to ascii string
This commit is contained in:
commit
68c106d60d
@ -60,10 +60,10 @@ def _find_mono_in_reg_old(subkey, bits):
|
|||||||
def find_mono_root_dir(bits):
|
def find_mono_root_dir(bits):
|
||||||
root_dir = _find_mono_in_reg(r'SOFTWARE\Mono', bits)
|
root_dir = _find_mono_in_reg(r'SOFTWARE\Mono', bits)
|
||||||
if root_dir is not None:
|
if root_dir is not None:
|
||||||
return root_dir
|
return str(root_dir)
|
||||||
root_dir = _find_mono_in_reg_old(r'SOFTWARE\Novell\Mono', bits)
|
root_dir = _find_mono_in_reg_old(r'SOFTWARE\Novell\Mono', bits)
|
||||||
if root_dir is not None:
|
if root_dir is not None:
|
||||||
return root_dir
|
return str(root_dir)
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user