From b165175d652a6c0c5ed77237ca148ca4313bd34c Mon Sep 17 00:00:00 2001 From: Akamig Date: Wed, 11 Sep 2024 19:42:11 +0900 Subject: [PATCH] Move: Modules in modules folder --- packages/main/src/App.ts | 2 +- packages/main/src/index.ts | 2 +- packages/main/src/{ => modules}/Game/Game.ts | 0 packages/main/src/{ => modules}/Keystore/Keystore.ts | 0 packages/main/src/{ => modules}/Remote/Remote.ts | 0 packages/main/src/{ => modules}/UI/Window.ts | 0 packages/main/src/{ => modules}/Update/Update.ts | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename packages/main/src/{ => modules}/Game/Game.ts (100%) rename packages/main/src/{ => modules}/Keystore/Keystore.ts (100%) rename packages/main/src/{ => modules}/Remote/Remote.ts (100%) rename packages/main/src/{ => modules}/UI/Window.ts (100%) rename packages/main/src/{ => modules}/Update/Update.ts (100%) diff --git a/packages/main/src/App.ts b/packages/main/src/App.ts index 2791109dc..fd4b526b8 100644 --- a/packages/main/src/App.ts +++ b/packages/main/src/App.ts @@ -2,7 +2,7 @@ import {app} from 'electron'; import './security-restrictions'; import {platform} from 'node:process'; import updater from 'electron-updater'; -import type WindowManager from './UI/Window.js'; +import type WindowManager from '/@/modules/UI/Window.js'; export default class App { windowManager: WindowManager; diff --git a/packages/main/src/index.ts b/packages/main/src/index.ts index 49d79579f..04dacfafb 100644 --- a/packages/main/src/index.ts +++ b/packages/main/src/index.ts @@ -1,4 +1,4 @@ import App from './App.js'; -import WindowManager from './UI/Window.js'; +import WindowManager from '/@/modules/UI/Window.js'; new App(new WindowManager()); diff --git a/packages/main/src/Game/Game.ts b/packages/main/src/modules/Game/Game.ts similarity index 100% rename from packages/main/src/Game/Game.ts rename to packages/main/src/modules/Game/Game.ts diff --git a/packages/main/src/Keystore/Keystore.ts b/packages/main/src/modules/Keystore/Keystore.ts similarity index 100% rename from packages/main/src/Keystore/Keystore.ts rename to packages/main/src/modules/Keystore/Keystore.ts diff --git a/packages/main/src/Remote/Remote.ts b/packages/main/src/modules/Remote/Remote.ts similarity index 100% rename from packages/main/src/Remote/Remote.ts rename to packages/main/src/modules/Remote/Remote.ts diff --git a/packages/main/src/UI/Window.ts b/packages/main/src/modules/UI/Window.ts similarity index 100% rename from packages/main/src/UI/Window.ts rename to packages/main/src/modules/UI/Window.ts diff --git a/packages/main/src/Update/Update.ts b/packages/main/src/modules/Update/Update.ts similarity index 100% rename from packages/main/src/Update/Update.ts rename to packages/main/src/modules/Update/Update.ts