Skip to content

Commit 3fa944f

Browse files
committed
yay works on Windows now
1 parent 25c4d86 commit 3fa944f

File tree

4 files changed

+17
-19
lines changed

4 files changed

+17
-19
lines changed

package-lock.json

Lines changed: 5 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
create a file, slackApiStuff.js, in this directory for sensitive variables like api keys, webhook urls, etc
2+
and make it similar to this:
3+
4+
const slackApiStuff = {};
5+
slackApiStuff.slackWebhookURL =
6+
"ENTER WEBHOOK HERE";
7+
8+
slackApiStuff.oauthURL = 'ENTER OAUTH URL HERE';
9+
10+
export default slackApiStuff;

src-electron/main-process/electron-main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function createWindow() {
4848
app.on("ready", () => {
4949
createWindow()
5050
// window.open('http://google.com/')
51-
shell.openExternal('http://google.com/', { activate: true })
51+
// shell.openExternal('http://google.com/', { activate: true })
5252
})
5353

5454
// listener for OAuth response with URL encoded auth token

src/components/slack_login/SlackLoginWindow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default {
4040
console.log('clicked')
4141
// shell.openExternal(this.oauthURL)
4242
// window.open(this.oauthURL, '_blank')
43-
shell.openExternal('https://google.com/', { activate: true })
43+
shell.openExternal(this.oauthURL, { activate: true })
4444
}
4545
}
4646
}

0 commit comments

Comments
 (0)