Open xiaoweiz opened 4 years ago
看了下现在没问题 你再试试呢 60 行是 https://gist.github.com/nondanee/f157bbbccecfe29e48d87273cd02e213#file-helper-py-L60 访问的是 https://raw.githubusercontent.com/Microsoft/vscode/1.46.0/.yarnrc 可能是当时 vscode 仓库 1.46.0 的 tag 还没打
VS Code crashes after running the script to replace ffmpeg.dll
. Seems to be related to #86
No, the solution in #87 doesn't work any more. vscode 1.46.0 electron 7.3.1
Here's the header of the crash report, complaining the signature issue.
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x5] Code Signature
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/libffmpeg.dylib
Referenced from: /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
Reason: no suitable image found. Did find:
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib: code signature in (/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
Does manual replacement work? https://github.com/nondanee/vsc-netease-music/issues/87#issuecomment-610687595
No.
Hello
The latest vscode compatible version is 1.45.1 with Electron 7.2.4