-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode 1.43.0 Mac版本替换ffmpeg之后闪退 #86
Comments
感谢! |
我看了下同事的错误信息是签名验证失败
有几种可能
可以看下 https://www.cnblogs.com/csuftzzk/p/macos_code_signature_invalid.html
|
搜了下可能和这个事情有关 看了签名指南发现自己签名我都测试不了 (没 developer 账号) 试了下关闭 sip 可以使用 这个问题得改实现方式了,就调用本地 chrome/edge (headless) 来播放 现在应急方案就是关闭 sip 或者用老版本吧,我尽快修 |
查过了是脚本替换的问题,手动替换没问题,已经修了 |
试了下自签名依然会闪退。错误信息是签名不匹配 |
我也有这个问题,用了 automatic script 之后,显示 ffmpeg 签名有问题,然后 Electron 似乎也不对,VSCode 就再也打不开了。手动下载的话,我的 electron 是在 anaconda 里面,似乎挪过去也没用。暂时先不试了,以免又得重装 VSCode。。 提一个小建议,doc里面的
这里的 |
vsc crashed (vsc 1.15.2, electron 9.3.5) |
看别人分享 M1 vscode 卡顿的问题解决方法时发现签名可以去掉 之前试过去掉所有签名就可以启动了,就是比较暴力。。。 export VSCODE_INSTALLATION="/Applications/Visual Studio Code.app"
codesign --remove-signature "$VSCODE_INSTALLATION/Contents/MacOS/Electron"
codesign --remove-signature "$VSCODE_INSTALLATION/Contents/Frameworks/Code Helper.app"
codesign --remove-signature "$VSCODE_INSTALLATION/Contents/Frameworks/Code Helper (Renderer).app"
codesign --remove-signature "$VSCODE_INSTALLATION/Contents/Frameworks/Code Helper (GPU).app" |
This is possible with VS Code 1.71+. This version of VS Code now includes support for the following formats/codecs:
You should be able to include audio/video in those format just like you can on a normal webpage For older versions of VS Code, this is not possible because VS Code uses a version of electron that does not include ffmpeg. That means that playback of many common media formats is not supported inside vscode, or inside its webviews. There are no plans to change this. (I am the developer of vscode's webview API) You can try either finding a format that is supported (such as gifs or mjpegs for short clips) or use a library to play back the content in software. (PS. Don't use vscode.previewHtml; use the proper webview API) |
咋回退呀 |
感谢作者的付出!
环境:macOS Mojave 10.14.6
升级到vscode 1.43.0 + electron 7.1.7版本,利用自动脚本替换ffmpeg之后,会导致整个vscode卡死并闪退
之前的Vscode 1.42.1 + electron 6.1.6版本一切正常
The text was updated successfully, but these errors were encountered: