diff --git a/forge.config.js b/forge.config.js index 8e3ac8a..f63e52c 100644 --- a/forge.config.js +++ b/forge.config.js @@ -39,7 +39,7 @@ module.exports = { productName: 'BingGPT', description: 'AI-powered answer engine', productDescription: 'AI-powered answer engine', - version: '0.2.0', + version: '0.2.1', categories: ['Utility'], maintainer: 'dice2o', homepage: 'https://github.com/dice2o/BingGPT', @@ -56,7 +56,7 @@ module.exports = { productName: 'BingGPT', description: 'AI-powered answer engine', productDescription: 'AI-powered answer engine', - version: '0.2.0', + version: '0.2.1', categories: ['Utility'], maintainer: 'dice2o', homepage: 'https://github.com/dice2o/BingGPT', diff --git a/main.js b/main.js index 37deaec..41513d7 100644 --- a/main.js +++ b/main.js @@ -205,7 +205,7 @@ const createWindow = () => { }, }, { - label: 'BingGPT v0.2.0', + label: 'BingGPT v0.2.1', visible: parameters.selectionText.trim().length === 0, click: () => { shell.openExternal('https://github.com/dice2o/BingGPT/releases') diff --git a/package-lock.json b/package-lock.json index d844213..c751bf6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "binggpt", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "binggpt", - "version": "0.2.0", + "version": "0.2.1", "license": "Apache-2.0", "dependencies": { "electron-context-menu": "^3.6.1", diff --git a/package.json b/package.json index b662c65..816795e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "binggpt", "productName": "BingGPT", - "version": "0.2.0", + "version": "0.2.1", "description": "AI-powered answer engine", "author": "dice2o", "license": "Apache-2.0", diff --git a/preload.js b/preload.js index b58a7ca..1136675 100644 --- a/preload.js +++ b/preload.js @@ -29,15 +29,15 @@ window.addEventListener('DOMContentLoaded', () => { const discoverContent = document.getElementById('uns_section_fixedbottom') if (signInLink) { signInLink.setAttribute('target', '_self') - if (joinLink) { - joinLink.setAttribute('target', '_self') - } + } + if (joinLink) { + joinLink.setAttribute('target', '_self') } if (previewBanner) { previewBanner.style.cssText = 'margin-top: 44px' - if (previewCloseBtn) { - previewCloseBtn.style.cssText = 'display: none' - } + } + if (previewCloseBtn) { + previewCloseBtn.style.cssText = 'display: none' } if (forYouContent) { forYouContent.style.cssText = 'display: none'