update release

This commit is contained in:
duanfuxiang 2025-08-26 05:43:34 +08:00
parent 5b0ca2fb10
commit ffc29db771
2 changed files with 7 additions and 3 deletions

View File

@ -328,7 +328,7 @@ export const upgradeToProVersion = async (
await copyFilesFromTemp(adapter, tempDir, pluginDir);
new Notice("加载完成,成功升级为Pro");
new Notice("加载完成,成功升级");
await cleanupTempDirectory(adapter, tempDir);
@ -336,10 +336,12 @@ export const upgradeToProVersion = async (
console.log(`重载插件: ${plugin.manifest.id}`);
try {
// 禁用插件
// @ts-ignore
await plugin.app.plugins.disablePlugin(plugin.manifest.id);
console.log(`插件已禁用: ${plugin.manifest.id}`);
// 启用插件
// @ts-ignore
await plugin.app.plugins.enablePlugin(plugin.manifest.id);
console.log(`插件已重新启用: ${plugin.manifest.id}`);

View File

@ -14,8 +14,10 @@ export function getInfioLogoSimpleSvg(): string {
}
export function getInfioLogoSvg(): string {
return `<svg width="233" height="233" viewBox="0 0 233 233" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M231.342 93.98L229.862 92.43H219.602L223.192 0.45L208.392 0L205.622 65.43C146.022 62.19 86.2922 62.19 26.7022 65.41L24.9722 0.45L10.1722 0.9L12.6722 92.43H2.16217L0.752167 93.9C-0.797833 110.13 0.0921667 126.58 3.01217 142.79H13.8422L14.0222 144.06C14.6922 163.4 30.1222 178.74 49.9222 178.74C69.7222 178.74 94.7822 177.82 116.042 177.82C137.302 177.82 162.602 178.74 181.992 178.74C201.382 178.74 217.182 163.45 217.892 144.13L218.052 142.79H229.072C231.982 126.6 232.882 110.18 231.332 93.98H231.342ZM73.1122 151.99C55.8422 151.99 42.8622 138.21 42.8622 122.21C42.8622 106.21 55.8522 92.43 73.1122 92.43C90.3722 92.43 102.732 106.37 102.732 122.37C102.732 138.37 90.3822 151.99 73.1122 151.99ZM159.622 151.99C142.352 151.99 129.372 138.21 129.372 122.21C129.372 106.21 142.362 92.43 159.622 92.43C176.882 92.43 189.242 106.37 189.242 122.37C189.242 138.37 176.892 151.99 159.622 151.99Z" fill="#808080"/>
return `<svg width="233" height="179" viewBox="0 0 233 179" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M231.342 85.48L229.862 83.93H219.602L218.052 19L205.622 19V56.93C146.022 53.69 86.2922 53.69 26.7022 56.91V19L12.6722 19V83.93H2.16217L0.752167 85.4C-0.797833 101.63 0.0921664 118.08 3.01217 134.29H13.8422L14.0222 135.56C14.6922 154.9 30.1222 170.24 49.9222 170.24C69.7222 170.24 94.7822 169.32 116.042 169.32C137.302 169.32 162.602 170.24 181.992 170.24C201.382 170.24 217.182 154.95 217.892 135.63L218.052 134.29H229.072C231.982 118.1 232.882 101.68 231.332 85.48H231.342ZM73.1122 143.49C55.8422 143.49 42.8622 129.71 42.8622 113.71C42.8622 97.71 55.8522 83.93 73.1122 83.93C90.3722 83.93 102.732 97.87 102.732 113.87C102.732 129.87 90.3822 143.49 73.1122 143.49ZM159.622 143.49C142.352 143.49 129.372 129.71 129.372 113.71C129.372 97.71 142.362 83.93 159.622 83.93C176.882 83.93 189.242 97.87 189.242 113.87C189.242 129.87 176.892 143.49 159.622 143.49Z" fill="#4B52C7"/>
<ellipse cx="19.5" cy="19" rx="10.5" ry="11" fill="#4B52C7"/>
<circle cx="212" cy="19" r="11" fill="#4B52C7"/>
</svg>
`
}