nondanee / vsc-netease-music

UNOFFICIAL Netease Music extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=nondanee.vsc-netease-music
MIT License
1.02k stars 80 forks source link

Linux Automatic Replacement Error #105

Closed shawndebuggggg closed 3 years ago

shawndebuggggg commented 4 years ago

Replaced in "sudo su" in Linux, run into this error vsc 1.48.2 electron 7.3.2

root@hz-VirtualBox:/home/hz# curl https://gist.githubusercontent.com/nondanee/f157bbbccecfe29e48d87273cd02e213/raw | python3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3304  100  3304    0     0  23600      0 --:--:-- --:--:-- --:--:-- 23600
Traceback (most recent call last):
  File "<stdin>", line 55, in <module>
AssertionError
nondanee commented 3 years ago

The script runs which code but not find your VS Code installation path https://gist.github.com/nondanee/f157bbbccecfe29e48d87273cd02e213#file-helper-py-L20 Please download the script, fill the installation path in line 20 installation = '/some/path' and rerun it