mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-14 22:14:23 +00:00
linux: Allow skipping "Unsupported GPU" warning (#15271)
I just want using Zed in virtual machine, current implement must read code and set env `ZED_ALLOW_EMULATED_GPU` then can work. Release Notes: - N/A
This commit is contained in:
parent
0360cda543
commit
4d56252bae
1 changed files with 2 additions and 2 deletions
|
@ -171,9 +171,9 @@ pub fn initialize_workspace(app_state: Arc<AppState>, cx: &mut AppContext) {
|
|||
For troubleshooting see: https://zed.dev/docs/linux
|
||||
"#}, specs.device_name);
|
||||
let prompt = cx.prompt(PromptLevel::Critical, "Unsupported GPU", Some(&message),
|
||||
&["Troubleshoot and Quit"]);
|
||||
&["Skip", "Troubleshoot and Quit"]);
|
||||
cx.spawn(|_, mut cx| async move {
|
||||
if prompt.await == Ok(0) {
|
||||
if prompt.await == Ok(1) {
|
||||
cx.update(|cx| {
|
||||
cx.open_url("https://zed.dev/docs/linux#zed-fails-to-open-windows");
|
||||
cx.quit();
|
||||
|
|
Loading…
Reference in a new issue