From c4091812ed09f80ac42411d25a430c57a7aff7ff Mon Sep 17 00:00:00 2001 From: inulute <110729127+inulute@users.noreply.github.com> Date: Sun, 5 Nov 2023 10:31:02 +0530 Subject: [PATCH] Fixed "Sign in using Google" Flagging a security concern when attempting to log in via Google authentication. --- main.js | 9 +-------- package.json | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/main.js b/main.js index 94edf5b..8e4f2db 100644 --- a/main.js +++ b/main.js @@ -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", diff --git a/package.json b/package.json index 11e270e..d6953cc 100644 --- a/package.json +++ b/package.json @@ -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": {