Skip to content

Commit

Permalink
Fix Linux VSCode non Snap package bug
Browse files Browse the repository at this point in the history
Also update issue template
  • Loading branch information
golf1052 committed May 18, 2020
1 parent e7001cb commit cd4b979
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
If you are reporting an issue/bug please fill in your VSCode version, CodeSync version, and if you are on version 2.4.0 and above the CodeSync log from the CodeSync output channel. Thanks!
If you are reporting an issue/bug please fill in your VSCode version, OS information, CodeSync version, and if you are on version 2.4.0 and above the CodeSync log from the CodeSync output channel. Thanks!

If you are requesting a feature feel free to clear this template.

VSCode version:

OS information:

CodeSync version:

CodeSync log:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "code-sync",
"displayName": "CodeSync",
"description": "Sync VSCode extensions using your favorite file synchronization service (OneDrive, Dropbox, Google Drive, etc.)",
"version": "2.7.1",
"version": "2.7.2",
"publisher": "golf1052",
"keywords": [
"sync",
Expand Down
2 changes: 1 addition & 1 deletion src/cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const KEYBINDINGS = 'keybindings.json';
export const SNIPPETS = 'snippets';
export const LOCAL_SETTINGS = 'local-settings.json';

export const currentVersion: string = '2.7.1';
export const currentVersion: string = '2.7.2';
export let vsCodeExtensionDir: string = helpers.getExtensionDir();
export let codeSyncExtensionDir: string = path.join(vsCodeExtensionDir, 'golf1052.code-sync-' + currentVersion);

Expand Down
5 changes: 5 additions & 0 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@ export function isCodeASnapPackage(settings: settings.Settings, log: boolean = f
value: true,
path: codePath
};
} else {
return {
value: false,
path: null
}
}
} else {
return {
Expand Down

0 comments on commit cd4b979

Please sign in to comment.