Skip to content

Commit

Permalink
Revert "handle node-powershell failing during icon resolution"
Browse files Browse the repository at this point in the history
This reverts commit b4c3ac8.
  • Loading branch information
Eugeny committed Jul 18, 2024
1 parent 3d7308c commit 4485e9a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tabby-electron/src/shells/wsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4485e9a

Please sign in to comment.