Skip to content

Commit a6d1070

Browse files
author
zoew McGrathe
committed
pulled updated components
2 parents e991b0a + fc1e478 commit a6d1070

16 files changed

+907
-88
lines changed

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
"lodash.throttle": "^4.1.1",
2929
"mousetrap": "^1.6.5",
3030
"node-gyp": "^8.4.1",
31+
"prismjs": "^1.25.0",
3132
"quasar": "^2.0.0",
3233
"quasar-dotenv": "^1.0.5",
34+
"vue-draggable-resizable": "^2.3.0",
3335
"vue-multiselect": "^3.0.0-alpha.1",
3436
"vue-prism-editor": "^2.0.0-alpha.2",
3537
"vue3-tree": "^0.10.0",

src-electron/electron-main.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ ipcMain.handle("saveProject", async (event, arg) => {
5555
ipcMain.handle("openProject", async (event, arg) => {
5656
const result = await dialog.showOpenDialog(arg);
5757
return result;
58+
<<<<<<< HEAD
5859
});
60+
=======
61+
})
62+
>>>>>>> quasar
5963

6064
// ************** Slack OAuth functions **********************
6165
// Sends request to Slack for User's information,
@@ -136,12 +140,23 @@ function setOauthListener() {
136140
// logEverywhere(`process.env.SLACK_CLIENT_ID in electron-main: ${process.env.SLACK_CLIENT_ID}`);
137141
// logEverywhere(`process.env.SLACK_CLIENT_SECRET in electron-main: ${process.env.SLACK_CLIENT_SECRET}`);
138142

143+
<<<<<<< HEAD
139144
return deeplink.on("received", (link) => {
140145
// logEverywhere(`auth worked here link: ${link}`);
141146
// Extracts Slack authorization code from deep link
142147
authCode = link.split("=")[1];
143148
sendTokenRequest();
144149
});
150+
=======
151+
if (process.env.PROD) {
152+
return deeplink.on("received", link => {
153+
// logEverywhere(`auth worked here link: ${link}`);
154+
// Extracts Slack authorization code from deep link
155+
authCode = link.split("=")[1];
156+
sendTokenRequest();
157+
});
158+
}
159+
>>>>>>> quasar
145160
}
146161

147162
function createWindow() {

src-electron/electron-preload.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
const {ipcRenderer, shell, contextBridge} = require('electron');
2121
const path = require('path');
2222
const fs = require('fs-extra');
23-
2423
// ipcRenderer contextBridge
2524
// on: used in SlackLoginWindow
2625
//
@@ -46,4 +45,3 @@ const fs = require('fs-extra');
4645
contextBridge.exposeInMainWorld("path", {
4746
join: (...paths) => path.join(...paths)
4847
})
49-

0 commit comments

Comments
 (0)