Skip to content

Commit

Permalink
fix: prevent Ref message from Bing
Browse files Browse the repository at this point in the history
  • Loading branch information
dice2o committed Mar 11, 2023
1 parent 373ab7a commit 2ba7018
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@

### Windows

- [BingGPT-0.1.5-win32-x64-Setup.exe](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-win32-x64-Setup.exe) (Installer)
- [BingGPT-0.1.5-win32-x64.zip](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-win32-x64.zip) (Portable)
- [BingGPT-0.1.5-win32-arm64-Setup.exe](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-win32-arm64-Setup.exe) (Installer)
- [BingGPT-0.1.5-win32-arm64.zip](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-win32-arm64.zip) (Portable)
- [BingGPT-0.1.6-win32-x64-Setup.exe](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-win32-x64-Setup.exe) (Installer)
- [BingGPT-0.1.6-win32-x64.zip](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-win32-x64.zip) (Portable)
- [BingGPT-0.1.6-win32-arm64-Setup.exe](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-win32-arm64-Setup.exe) (Installer)
- [BingGPT-0.1.6-win32-arm64.zip](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-win32-arm64.zip) (Portable)

### MacOS

- [BingGPT-0.1.5-darwin-arm64.dmg](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-darwin-arm64.dmg) (Apple Silicon)
- [BingGPT-0.1.5-darwin-x64.dmg](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-darwin-x64.dmg) (Intel chips)
- [BingGPT-0.1.6-darwin-arm64.dmg](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-darwin-arm64.dmg) (Apple Silicon)
- [BingGPT-0.1.6-darwin-x64.dmg](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-darwin-x64.dmg) (Intel chips)

### Linux

- [BingGPT-0.1.5-linux-x64.deb](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-linux-x64.deb)
- [BingGPT-0.1.5-linux-arm64.deb](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-linux-arm64.deb)
- [BingGPT-0.1.5-linux-x64.rpm](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-linux-x64.rpm)
- [BingGPT-0.1.5-linux-arm64.rpm](https://github.com/dice2o/BingGPT/releases/download/v0.1.5/BingGPT-0.1.5-linux-arm64.rpm)
- [BingGPT-0.1.6-linux-x64.deb](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-linux-x64.deb)
- [BingGPT-0.1.6-linux-arm64.deb](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-linux-arm64.deb)
- [BingGPT-0.1.6-linux-x64.rpm](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-linux-x64.rpm)
- [BingGPT-0.1.6-linux-arm64.rpm](https://github.com/dice2o/BingGPT/releases/download/v0.1.6/BingGPT-0.1.6-linux-arm64.rpm)

## Usage

Expand Down
4 changes: 2 additions & 2 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
productName: 'BingGPT',
description: 'AI-powered answer engine',
productDescription: 'AI-powered answer engine',
version: '0.1.5',
version: '0.1.6',
categories: ['Utility'],
maintainer: 'dice2o',
homepage: 'https://github.com/dice2o/BingGPT',
Expand All @@ -54,7 +54,7 @@ module.exports = {
productName: 'BingGPT',
description: 'AI-powered answer engine',
productDescription: 'AI-powered answer engine',
version: '0.1.5',
version: '0.1.6',
categories: ['Utility'],
maintainer: 'dice2o',
homepage: 'https://github.com/dice2o/BingGPT',
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const createWindow = () => {
},
},
{
label: 'BingGPT v0.1.5',
label: 'BingGPT v0.1.6',
visible: parameters.selectionText.trim().length === 0,
click: () => {
shell.openExternal('https://github.com/dice2o/BingGPT/releases')
Expand All @@ -97,7 +97,7 @@ const createWindow = () => {
}schemeovr=1&FORM=SHORUN&udscs=1&udsnav=1&setlang=${locale}&features=udssydinternal&clientscopes=windowheader,coauthor,chat,&udsframed=1`
const userAgent =
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1660.12'
const extraHeaders = 'x-forwarded-for: 8.8.8.8'
const extraHeaders = 'x-forwarded-for: 1.1.1.1'
mainWindow.loadURL(bingUrl, {
userAgent: userAgent,
extraHeaders: extraHeaders,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "binggpt",
"productName": "BingGPT",
"version": "0.1.5",
"version": "0.1.6",
"description": "AI-powered answer engine",
"author": "dice2o",
"license": "Apache-2.0",
Expand Down

0 comments on commit 2ba7018

Please sign in to comment.