Skip to content

Commit

Permalink
2.7.12 (#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
logancyang authored Dec 27, 2024
1 parent 94b3829 commit 3124281
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
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,6 +1,6 @@
{
"name": "obsidian-copilot",
"version": "2.7.11",
"version": "2.7.12",
"description": "ChatGPT integration for Obsidian",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 1 addition & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -97,8 +96,6 @@ export default class CopilotPlugin extends Plugin {
name: "Open Copilot Chat Window",
callback: async () => {
this.activateView();
// Check version
await this.checkForUpdates();
},
});

Expand Down Expand Up @@ -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({
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 3124281

Please sign in to comment.