This commit is contained in:
tianmo committed 2026-11-06 14:11:49 +08:00
1 parent e7f800aa8d
commit d0112e0016
36 files changed
+79 -115

No files matched your search

@@ -87,7 +87,6 @@ function createLibraryWatcher(options) {
return false;
}
known = listItemDirs();
onLog(t('thumb.watching', { path: imagesDir, count: known.size }));
try {
watcher = fs.watch(imagesDir, { persistent: true }, () => scheduleFlush());
} catch (error) {
@@ -2,7 +2,7 @@
// 每次改动递增。Eagle 里的 service 插件是启动时加载并常驻的,改完代码必须重新加载插件
// 才会生效;状态栏会显示这个版本号,方便确认加载的到底是不是最新代码。
const VERSION = 'v73';
const VERSION = 'v79';
const SHOW_DEV_VERSION = false;
const path = require('path');
@@ -736,7 +736,7 @@ async function start() {
libraryPath = resolved;
imagesDir = path.join(resolved, 'images');
folderPaths = null; // 换库了,文件夹树重新读
libraryEl.textContent = resolved;
libraryEl.textContent = path.basename(resolved);
setStatus(libraryWatcher.start(resolved) ? t('thumb.statusListening') : t('thumb.statusListenFailed'));
}
@@ -906,9 +906,6 @@ if (typeof eagle === 'undefined') {
window.SpinePluginPath = (plugin && plugin.path) || window.SpinePluginRoot;
if (i18n) i18n.setLocale(eagle.app && eagle.app.locale);
logVersion();
log(t('thumb.pluginCreated', {
name: (plugin && plugin.manifest && plugin.manifest.name) || t('thumb.title'),
}));
await initializeCompatStore();
try {
await loadSettings();