Relocate stuff related to application update under behaviours - stuff that are breaking rules

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-07-13 11:23:10 +03:00
1 parent 1bacbc8bb4
commit 7594c1bfce
6 files changed
+13 -13

No files matched your search

@@ -6,7 +6,7 @@ import { getInjectable } from "@ogre-tools/injectable";
import { ipcMain } from "electron";
import userStoreFileNameMigrationInjectable from "./file-name-migration.injectable";
import { UserStore } from "./user-store";
import selectedUpdateChannelInjectable from "../application-update/selected-update-channel/selected-update-channel.injectable";
import selectedUpdateChannelInjectable from "../../behaviours/application-update/common/selected-update-channel/selected-update-channel.injectable";
const userStoreInjectable = getInjectable({
id: "user-store",
+2 -2
View File
@@ -15,8 +15,8 @@ import { getOrInsertSet, toggle, toJS, object } from "../../renderer/utils";
import { DESCRIPTORS } from "./preferences-helpers";
import type { UserPreferencesModel, StoreType } from "./preferences-helpers";
import logger from "../../main/logger";
import type { SelectedUpdateChannel } from "../application-update/selected-update-channel/selected-update-channel.injectable";
import type { UpdateChannelId } from "../application-update/update-channels";
import type { SelectedUpdateChannel } from "../../behaviours/application-update/common/selected-update-channel/selected-update-channel.injectable";
import type { UpdateChannelId } from "../../behaviours/application-update/common/update-channels";
export interface UserStoreModel {
lastSeenAppVersion: string;