mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 21:28:27 +02:00
Simplify import paths again
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { STATES, AppInterface, SCRIPT_HOME, SCRIPT_VERSION } from "@/utils/global";
|
||||
import { CE, createButton, Icon, ButtonStyle } from "@/utils/html";
|
||||
import { getPreferredServerRegion } from "@/utils/region";
|
||||
import { UserAgent, UserAgentProfile } from "@/utils/user-agent";
|
||||
import { getPref, Preferences, PrefKey, setPref, toPrefElement } from "@/utils/preferences";
|
||||
import { t, refreshCurrentLocale } from "@/utils/translation";
|
||||
import { STATES, AppInterface, SCRIPT_HOME, SCRIPT_VERSION } from "@utils/global";
|
||||
import { CE, createButton, Icon, ButtonStyle } from "@utils/html";
|
||||
import { getPreferredServerRegion } from "@utils/region";
|
||||
import { UserAgent, UserAgentProfile } from "@utils/user-agent";
|
||||
import { getPref, Preferences, PrefKey, setPref, toPrefElement } from "@utils/preferences";
|
||||
import { t, refreshCurrentLocale } from "@utils/translation";
|
||||
|
||||
const SETTINGS_UI = {
|
||||
'Better xCloud': {
|
||||
|
@@ -1,9 +1,9 @@
|
||||
import { SCRIPT_VERSION } from "@/utils/global";
|
||||
import { createButton, Icon, ButtonStyle } from "@/utils/html";
|
||||
import { getPreferredServerRegion } from "@/utils/region";
|
||||
import { PrefKey, getPref } from "@/utils/preferences";
|
||||
import { RemotePlay } from "@/modules/remote-play";
|
||||
import { t } from "@/utils/translation";
|
||||
import { SCRIPT_VERSION } from "@utils/global";
|
||||
import { createButton, Icon, ButtonStyle } from "@utils/html";
|
||||
import { getPreferredServerRegion } from "@utils/region";
|
||||
import { PrefKey, getPref } from "@utils/preferences";
|
||||
import { RemotePlay } from "@modules/remote-play";
|
||||
import { t } from "@utils/translation";
|
||||
import { setupSettingsUi } from "./global-settings";
|
||||
|
||||
|
||||
|
@@ -1,14 +1,14 @@
|
||||
import { STATES } from "@/utils/global";
|
||||
import { Icon, CE, createButton, ButtonStyle, createSvgIcon } from "@/utils/html";
|
||||
import { UserAgent } from "@/utils/user-agent";
|
||||
import { BxEvent } from "@/utils/bx-event";
|
||||
import { MkbRemapper } from "@/modules/mkb/mkb-remapper";
|
||||
import { getPref, PrefKey, toPrefElement } from "@/utils/preferences";
|
||||
import { setupScreenshotButton } from "@/modules/screenshot";
|
||||
import { StreamStats } from "@/modules/stream/stream-stats";
|
||||
import { TouchController } from "@/modules/touch-controller";
|
||||
import { t } from "@/utils/translation";
|
||||
import { VibrationManager } from "@/modules/vibration-manager";
|
||||
import { STATES } from "@utils/global";
|
||||
import { Icon, CE, createButton, ButtonStyle, createSvgIcon } from "@utils/html";
|
||||
import { UserAgent } from "@utils/user-agent";
|
||||
import { BxEvent } from "@utils/bx-event";
|
||||
import { MkbRemapper } from "@modules/mkb/mkb-remapper";
|
||||
import { getPref, PrefKey, toPrefElement } from "@utils/preferences";
|
||||
import { setupScreenshotButton } from "@modules/screenshot";
|
||||
import { StreamStats } from "@modules/stream/stream-stats";
|
||||
import { TouchController } from "@modules/touch-controller";
|
||||
import { t } from "@utils/translation";
|
||||
import { VibrationManager } from "@modules/vibration-manager";
|
||||
|
||||
|
||||
export function localRedirect(path: string) {
|
||||
|
Reference in New Issue
Block a user