slkcli 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/auth.js +3 -3
package/package.json
CHANGED
package/src/auth.js
CHANGED
|
@@ -43,10 +43,10 @@ const TOKEN_CACHE = join(CACHE_DIR, "token-cache.json");
|
|
|
43
43
|
let cachedCreds = null;
|
|
44
44
|
|
|
45
45
|
function getKeychainKey() {
|
|
46
|
-
// Mac App Store Slack uses account "Slack App Store Key", direct download uses "Slack"
|
|
46
|
+
// Mac App Store Slack uses account "Slack App Store Key", direct download uses "Slack" or "Slack Key"
|
|
47
47
|
const accounts = SLACK_DIR === SLACK_DIR_APPSTORE
|
|
48
|
-
? ["Slack App Store Key", "Slack"]
|
|
49
|
-
: ["Slack", "Slack App Store Key"];
|
|
48
|
+
? ["Slack App Store Key", "Slack Key", "Slack"]
|
|
49
|
+
: ["Slack Key", "Slack", "Slack App Store Key"];
|
|
50
50
|
|
|
51
51
|
for (const account of accounts) {
|
|
52
52
|
try {
|