mirror of
https://github.com/Eugeny/tabby
synced 2024-11-14 17:07:15 +00:00
Revert "handle node-powershell failing during icon resolution"
This reverts commit b4c3ac8ab6
.
This commit is contained in:
parent
3d7308cea0
commit
4485e9a917
1 changed files with 1 additions and 8 deletions
|
@ -56,14 +56,7 @@ export class WSLShellProvider extends ShellProvider {
|
|||
})
|
||||
}
|
||||
|
||||
private _resolveIcon (defaultDistKey: any): Promise<string> {
|
||||
return this._resolveIconInner(defaultDistKey).catch(e => {
|
||||
console.error('Failed to resolve icon for WSL distribution:', defaultDistKey, e)
|
||||
return wslIconMap.Linux
|
||||
})
|
||||
}
|
||||
|
||||
private async _resolveIconInner (defaultDistKey: any): Promise<string> {
|
||||
private async _resolveIcon (defaultDistKey: any): Promise<string> {
|
||||
let _icon = wslIconMap.Linux
|
||||
|
||||
// check if the register has PackageFamilyName
|
||||
|
|
Loading…
Reference in a new issue