From 5e3de747d37b4b7042485a6733b2cd8a883b16ef Mon Sep 17 00:00:00 2001 From: TrainDoctor Date: Sun, 30 Oct 2022 16:37:19 -0700 Subject: Systemd service updating (#240) * Add services and updated installer files * Loader updates service file during update! * Testing update branch doesn't exist lol * Update to dfl 3.7.12 * Fix services and add working service updater * Revert services but replace their aliases * Fix install scripts as well * Move leftover service files to .systemd dir * No wonder it's not trimming the file... * fix whitespace * Remove unused imports * Remove another un-used import Co-authored-by: AAGaming --- frontend/src/components/settings/pages/general/BranchSelect.tsx | 2 +- frontend/src/store.tsx | 1 - frontend/src/tabs-hook.tsx | 4 +--- frontend/src/updater.ts | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) (limited to 'frontend/src') diff --git a/frontend/src/components/settings/pages/general/BranchSelect.tsx b/frontend/src/components/settings/pages/general/BranchSelect.tsx index 5e43a13d..27db6229 100644 --- a/frontend/src/components/settings/pages/general/BranchSelect.tsx +++ b/frontend/src/components/settings/pages/general/BranchSelect.tsx @@ -10,7 +10,7 @@ const logger = new Logger('BranchSelect'); enum UpdateBranch { Stable, Prerelease, - Testing, + // Testing, } const BranchSelect: FunctionComponent<{}> = () => { diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx index 3ef3e361..bc9f281c 100644 --- a/frontend/src/store.tsx +++ b/frontend/src/store.tsx @@ -1,5 +1,4 @@ import { Plugin } from './plugin'; -import { getSetting, setSetting } from './utils/settings'; export enum Store { Default, diff --git a/frontend/src/tabs-hook.tsx b/frontend/src/tabs-hook.tsx index c7790f7e..a518c4c9 100644 --- a/frontend/src/tabs-hook.tsx +++ b/frontend/src/tabs-hook.tsx @@ -1,10 +1,8 @@ // TabsHook for versions after the Desktop merge -import { Patch, QuickAccessTab, afterPatch, findInReactTree, findModule, sleep } from 'decky-frontend-lib'; -import { memo } from 'react'; +import { Patch, QuickAccessTab, afterPatch, findInReactTree, sleep } from 'decky-frontend-lib'; import { QuickAccessVisibleStateProvider } from './components/QuickAccessVisibleState'; import Logger from './logger'; -import { findSP } from './utils/windows'; declare global { interface Window { diff --git a/frontend/src/updater.ts b/frontend/src/updater.ts index 16955104..339b2b72 100644 --- a/frontend/src/updater.ts +++ b/frontend/src/updater.ts @@ -1,7 +1,7 @@ export enum Branches { Release, Prerelease, - Testing, + // Testing, } export interface DeckyUpdater { -- cgit v1.2.3