fix(GH): nightly release workflow issues

This commit is contained in:
2026-06-22 22:14:47 +09:30
parent 79d68c812c
commit d99198ea12
5 changed files with 97 additions and 6 deletions
@@ -12,6 +12,7 @@ import {
injectArchivedForUser,
mountArchivedNotificationInjection,
} from "./injectArchivedNotifications";
import styles from "./styles.css?inline";
const notificationCollectorSettings = {
saveLocally: booleanSetting({
@@ -46,6 +47,10 @@ const notificationCollectorPlugin: Plugin<
return () => {};
}
const styleEl = document.createElement("style");
styleEl.textContent = styles;
document.head.appendChild(styleEl);
await api.storage.loaded;
await api.settings.loaded;
@@ -208,6 +213,7 @@ const notificationCollectorPlugin: Plugin<
teardownInjection();
document.removeEventListener("visibilitychange", handleVisibilityChange);
pageChangeUnregister.unregister();
styleEl.remove();
};
},
};