From 15c48888121c54151c81eb7db6f78e986113a5d4 Mon Sep 17 00:00:00 2001 From: iCrawl Date: Thu, 23 Nov 2017 16:21:46 +0100 Subject: [PATCH] feat: use custom configuration for client ID for those who really know what they are doing which does not include 90% of you --- assets/icon.png | Bin 0 -> 32140 bytes package.json | 40 ++++++++++++++++++++++++++++++++++++++++ src/extension.ts | 9 ++++----- 3 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 assets/icon.png diff --git a/assets/icon.png b/assets/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4609e5e94438fdcaa7a0bdb875ec9320d995b722 GIT binary patch literal 32140 zcmeHwcT|(h*7qa?2q03WSRfQZK?uD`iFB2w6bnj`-Xk3;iGUPE!2&2<5d;LWf)puY zM~YMhX)4kbkRm}K`R2iM?m3rxuIpXveb@T_F>3*No|)Nu=C{l2nc1W9W+n!#%o~{j z0Ia(Wb@u~+hF{SD%K-n(1$X>_f0&4dhx`Cw;X-~;AT5Ir0JW!X76<(g8XKuO_;^X% zJNg`Rk`DGF!rB0+YXuYS9Xy=;amSoo+`Kh}r>bg&ac+(p!Uq(MWsHeBPOff-Cw!gE zPncLZobYf^brjapWL6JWg9N;s{OxhUUY_25YQY-9t8~@icjPr*7`Ix*-$O%q7s3#C z(AW&8$SLf=$;rqn;bm0uvIw=e6RaM2y$l>MWq+ksxzYuSK z`(P<=KarnA{-mSpEz|)?e7QM$^K(IqN|U;kDsg0e_{Er;{VDR z%EZ|CU%daZzg}Md$lA|eFAzfT2c-Yl($6A<=!D)@mp2!|r_PowvDbN)*> z|3(QZ`LBI<3U>Q1&5)9x%~n<6r-anuSk-iVo$UR6d@X!@JT-r6nc1HZ;&gNnty0Eq zJK*N+=o93(T^+x+$zSsRi<*^nZFVFS#u2y zV;@I1=a7G(At$3IFZ*{If2+Bc2DBeXdw=`?5tYB!{Tm%e2Q_COUoU%qO*b!l7biT? z+eID!*UP`v{Fhd#>G*j1_`+^EY09hP|LOHVw$k-+2td?&m$!qH9~6e)--H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`x5vJQB(Um#E5hx&>k;z1^-OecY1>8qKLdh< AL;wH) literal 0 HcmV?d00001 diff --git a/package.json b/package.json index 26411a7..f3a2bee 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,46 @@ "activationEvents": [ "*" ], + "contributes": { + "configuration": [ + { + "title": "Visual Studio Code Discord Configuration", + "type": "object", + "properties": { + "discord.clientID": { + "type": "string", + "default": "383226320970055681", + "description": "Only modify this if you know what you are doing (most of you don't)." + } + } + } + ] + }, + "repository": { + "type": "git", + "url": "git+https://github.com/iCrawl/discord-vscode.git" + }, + "bugs": { + "url": "https://github.com/iCrawl/discord-vscode/issues" + }, + "keywords": [ + "discord", + "vscode", + "status", + "update", + "rich", + "presence", + "rpc", + "rich presence" + ], + "categories": [ + "Other" + ], + "homepage": "https://github.com/iCrawl/discord-vscode#readme", + "icon": "assets/icon.png", + "galleryBanner": { + "theme": "dark" + }, "dependencies": { "discord-rpc": "^3.0.0-beta.2" }, diff --git a/src/extension.ts b/src/extension.ts index 123cd3a..105085c 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -1,17 +1,16 @@ import { Client } from 'discord-rpc'; import { basename, extname } from 'path'; -import { ExtensionContext, commands, window, workspace, Uri, TextDocumentChangeEvent } from 'vscode'; +import { ExtensionContext, commands, window, workspace, Uri, TextDocumentChangeEvent, TextDocument } from 'vscode'; export function activate(context: ExtensionContext) { const rpc = new Client({ transport: 'ipc' }); + const config = workspace.getConfiguration('discord'); rpc.once('ready', () => { setActivity(rpc); - workspace.onDidChangeTextDocument((e: TextDocumentChangeEvent) => { - setActivity(rpc); - }); + workspace.onDidChangeTextDocument((e: TextDocumentChangeEvent) => setActivity(rpc)); }); - rpc.login('').catch(error => + rpc.login(config.get('clientID')).catch(error => window.showErrorMessage(`Could not connect to discord via rpc: ${error.message}`) ); }