Parallels / parallels-vscode-extension

Parallels Visual Studio Code
MIT License
27 stars 7 forks source link

defaults read -g AppleLanguages returns exit code 1 and stops the initialization of the extension #81

Closed merken closed 2 months ago

merken commented 3 months ago

Describe the bug The VM treeview is not show. image

To Reproduce Steps to reproduce the behavior:

Unsure, I guess this is a macOS issue? I'm on a M3 MAX MBP 14 with Sonoma 14.5

Parallels Desktop Output VM tree list is not shown, stuck during initialization.

Expected behavior VM List loads as expected.

Screenshots See above.

Extension Version v1.1.17

Additional context I cloned the repo and debugged the extension, in case the defaults child process results in an exit code 1, it should default to en_US.

PR will be made

merken commented 3 months ago

image

merken commented 3 months ago

See #82

merken commented 2 months ago

Not ocurrring in 1.18.0 anymore

merken commented 2 months ago

I managed to reproduce this issue and adapted the change you requested. see PR https://github.com/Parallels/parallels-vscode-extension/pull/82/