mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 09:32:28 +08:00
[tools][vsc] Support Chinese path
This commit is contained in:
@@ -64,13 +64,13 @@ def GenerateCFiles(env):
|
||||
json_obj = {}
|
||||
json_obj['configurations'] = [config_obj]
|
||||
|
||||
vsc_file.write(json.dumps(json_obj, indent=4))
|
||||
vsc_file.write(json.dumps(json_obj, ensure_ascii=False, indent=4))
|
||||
vsc_file.close()
|
||||
|
||||
return
|
||||
|
||||
def GenerateVSCode(env):
|
||||
print('Update setting files for VSCode...'),
|
||||
print('Update setting files for VSCode...')
|
||||
GenerateCFiles(env)
|
||||
print('Done!')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user