This commit is contained in:
Logan Yang 2024-12-27 15:42:09 -08:00 committed by GitHub
parent 94b38292b7
commit 3124281e68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 8 additions and 9 deletions

View file

@ -20,7 +20,7 @@ If you enjoy Copilot for Obsidian, please consider [sponsoring this project](htt
<a href="https://www.buymeacoffee.com/logancyang" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 40px !important;width: 150px !important;" ></a>
SPECIAL THANKS TO OUR TOP SPONSORS:
@mikelaaron, @pedramamini, @Arlorean, @dashinja, @azagore, @MTGMAD, @gpythomas, @emaynard, @scmarinelli, @borthwick, @adamhill, @gluecode, @rusi, @timgrote, @JiaruiYu-Consilium, @ddocta, @AMOz1, @chchwy, @pborenstein, @GitTom, @kazukgw, @mjluser1, @joesfer, @rwaal, @turnoutnow-harpreet, @dreznicek, @xrise-informatik, @jeremygentles, @ZhengRui, @bfoujols, @jsmith0475, @pagiaddlemon, @sebbyyyywebbyyy, @royschwartz2
@mikelaaron, @pedramamini, @Arlorean, @dashinja, @azagore, @MTGMAD, @gpythomas, @emaynard, @scmarinelli, @borthwick, @adamhill, @gluecode, @rusi, @timgrote, @JiaruiYu-Consilium, @ddocta, @AMOz1, @chchwy, @pborenstein, @GitTom, @kazukgw, @mjluser1, @joesfer, @rwaal, @turnoutnow-harpreet, @dreznicek, @xrise-informatik, @jeremygentles, @ZhengRui, @bfoujols, @jsmith0475, @pagiaddlemon, @sebbyyyywebbyyy, @royschwartz2, @vikram11
[Changelog](https://github.com/logancyang/obsidian-copilot/releases)

View file

@ -1,7 +1,7 @@
{
"id": "copilot",
"name": "Copilot",
"version": "2.7.11",
"version": "2.7.12",
"minAppVersion": "0.15.0",
"description": "An AI Copilot in Obsidian.",
"author": "Logan Yang",

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "obsidian-copilot",
"version": "2.7.11",
"version": "2.7.12",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "obsidian-copilot",
"version": "2.7.11",
"version": "2.7.12",
"license": "AGPL-3.0",
"dependencies": {
"@huggingface/inference": "^2.6.4",

View file

@ -1,6 +1,6 @@
{
"name": "obsidian-copilot",
"version": "2.7.11",
"version": "2.7.12",
"description": "ChatGPT integration for Obsidian",
"main": "main.js",
"scripts": {

View file

@ -54,7 +54,6 @@ export default class CopilotPlugin extends Plugin {
settingsUnsubscriber?: () => void;
async onload(): Promise<void> {
await this.checkForUpdates();
await this.loadSettings();
this.settingsUnsubscriber = subscribeToSettingsChange(() => {
const settings = getSettings();
@ -97,8 +96,6 @@ export default class CopilotPlugin extends Plugin {
name: "Open Copilot Chat Window",
callback: async () => {
this.activateView();
// Check version
await this.checkForUpdates();
},
});
@ -735,6 +732,7 @@ export default class CopilotPlugin extends Plugin {
}));
}
// TODO: Add a setting for this. Disable for now.
private async checkForUpdates(): Promise<void> {
try {
const response = await requestUrl({

View file

@ -69,5 +69,6 @@
"2.7.8": "0.15.0",
"2.7.9": "0.15.0",
"2.7.10": "0.15.0",
"2.7.11": "0.15.0"
"2.7.11": "0.15.0",
"2.7.12": "0.15.0"
}