Skip to content

Commit

Permalink
Fixed "Sign in using Google"
Browse files Browse the repository at this point in the history
Flagging a security concern when attempting to log in via Google authentication.
  • Loading branch information
inulute committed Nov 5, 2023
1 parent 02057e7 commit c409181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
const { app, BrowserWindow, dialog } = require("electron");

app.allowRendererProcessReuse = true;

app.on("ready", () => {
const mainWindow = new BrowserWindow();

// Hide the top menu bar
mainWindow.setMenu(null);

mainWindow.loadURL(`file://${__dirname}/index.html`, {
userAgent:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36",
});

// Load HTTPS URLs
const promptObject = {
type: "question",
title: "Choose an AI to navigate",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "perplexity-ai-app",
"productName": "Perplexity AI",
"version": "0.1.1",
"version": "1.0.0",
"description": "Perplexity AI desktop application built with Electron.",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit c409181

Please sign in to comment.