vscode: Fix url handler MimeType for vscode-insiders

According to upstream RPMs, while using vscode-insiders, the URL handler MimeType should be
`x-scheme-handler/vscode-insiders` instead of `x-scheme-handler/vscode`.

See pull request 293460 and pull request 288425.
This commit is contained in:
iosmanthus 2024-03-06 23:03:16 +08:00 committed by GitHub
parent 29d830243a
commit 6081ff43ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -150,7 +150,7 @@ in
icon = "vs${executableName}";
startupNotify = true;
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
mimeTypes = [ "x-scheme-handler/vscode" ];
mimeTypes = [ "x-scheme-handler/vs${executableName}" ];
keywords = [ "vscode" ];
noDisplay = true;
};