Skip to content

Commit

Permalink
Detect snap installation of Visual Studio Code on Linux (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziggy42 authored and shiftkey committed Jan 24, 2021
1 parent 9fc8435 commit 4f8af94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/lib/editors/linux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ const editors: ILinuxExternalEditor[] = [
},
{
name: 'Visual Studio Code',
paths: ['/usr/bin/code'],
paths: ['/snap/bin/code', '/usr/bin/code'],
},
{
name: 'Visual Studio Code (Insiders)',
paths: ['/usr/bin/code-insiders'],
paths: ['/snap/bin/code-insiders', '/usr/bin/code-insiders'],
},
{
name: 'VSCodium',
Expand Down

0 comments on commit 4f8af94

Please sign in to comment.