修改统一名称

This commit is contained in:
qaq
2025-08-20 16:38:09 +08:00
parent 8dc171fe4b
commit a8e283f31b
31 changed files with 96 additions and 95 deletions
+2 -2
View File
@@ -4,11 +4,11 @@ plugins {
}
android {
namespace 'com.doraemon'
namespace 'com.flux'
compileSdk 34
defaultConfig {
applicationId "com.doraemon"
applicationId "com.flux"
minSdk 24
targetSdk 34
versionCode 1
@@ -1,4 +1,4 @@
package com.doraemon
package com.flux
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
@@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.doraemon", appContext.packageName)
assertEquals("com.flux", appContext.packageName)
}
}
+4 -3
View File
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" >
xmlns:tools="http://schemas.android.com/tools"
package="com.flux" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
@@ -13,11 +14,11 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Doraemon"
android:theme="@style/Theme.Flux"
android:usesCleartextTraffic="true"
tools:targetApi="31" >
<activity
android:name=".MainActivity"
android:name="com.flux.MainActivity"
android:exported="true"
android:configChanges="uiMode|orientation|screenSize" >
<intent-filter>
@@ -60490,7 +60490,7 @@ function useAriaButton$7(props, ref) {
};
}
"use client";
var domAnimation$9 = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation$9 = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var Ripple = (props) => {
const { ripples = [], motionProps, color: color2 = "currentColor", style: style2, onClear } = props;
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: ripples.map((ripple) => {
@@ -79636,7 +79636,7 @@ function $8ac8429251c45e4b$export$dbc0f175b25fb0fb$2(props, state2, ref) {
};
}
"use client";
var domAnimation$8 = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation$8 = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var NavbarMenu = forwardRef$4((props, ref) => {
var _a2, _b;
const { className, children, portalContainer, motionProps, style: style2, ...otherProps } = props;
@@ -80176,7 +80176,7 @@ function useNavbar(originalProps) {
};
}
"use client";
var domAnimation$7 = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation$7 = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var Navbar$1 = forwardRef$4((props, ref) => {
const { children, ...otherProps } = props;
const context = useNavbar({ ...otherProps, ref });
@@ -81000,7 +81000,7 @@ const VERSION = "1.2.11";
const getInitialConfig = () => {
if (typeof window === "undefined") {
return {
name: "哆啦A梦",
name: "flux-panel",
version: VERSION
};
}
@@ -81012,7 +81012,7 @@ const getInitialConfig = () => {
};
}
return {
name: "哆啦A梦",
name: "flux-panel",
version: VERSION
};
};
@@ -84108,7 +84108,7 @@ function getViewportSize() {
};
}
"use client";
var domAnimation$6 = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation$6 = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var ModalContent = (props) => {
const { as, children, role = "dialog", ...otherProps } = props;
const {
@@ -145746,7 +145746,7 @@ function usePopover$1(originalProps) {
};
}
"use client";
var domAnimation$5 = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation$5 = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var FreeSoloPopoverWrapper$1 = forwardRef$4(
({
children,
@@ -145861,7 +145861,7 @@ var [PopoverProvider$1, usePopoverContext$1] = createContext2({
errorMessage: "usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"
});
"use client";
var domAnimation$4 = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation$4 = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var PopoverContent$1 = (props) => {
const { as, children, className, ...otherProps } = props;
const {
@@ -148392,7 +148392,7 @@ function useAccordionItem(props) {
};
}
"use client";
var domAnimation$3 = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation$3 = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var AccordionItem = forwardRef$4((props, ref) => {
const {
Component: Component2,
@@ -170561,7 +170561,7 @@ function $5c3e21d68f1c4674$export$439d29a4e110a164(props) {
return /* @__PURE__ */ (0, React$3).createElement(Element2, (0, $3ef42575df84b30b$export$9d1611c77c2fe928$4)(otherProps, visuallyHiddenProps), children);
}
"use client";
var domAnimation$2 = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation$2 = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var PopLayoutWrapper = reactExports.forwardRef(
(props, ref) => {
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref, ...props });
@@ -172768,11 +172768,11 @@ function ProfilePage() {
/* @__PURE__ */ jsxRuntimeExports.jsx(
"a",
{
href: "https://github.com/bqlpfy/forward-panel",
href: "https://github.com/bqlpfy/flux-panel",
target: "_blank",
rel: "noopener noreferrer",
className: "text-gray-500 dark:text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors",
children: "哆啦A梦"
children: "flux-panel"
}
)
] }),
@@ -179821,7 +179821,7 @@ function $40df3f8667284809$export$d55e7ee900f34e93(props, ref) {
};
}
"use client";
var domAnimation$1 = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation$1 = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var FreeSoloPopoverWrapper = forwardRef$4(
({
children,
@@ -179936,7 +179936,7 @@ var [PopoverProvider, usePopoverContext] = createContext2({
errorMessage: "usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"
});
"use client";
var domAnimation = () => __vitePreload(() => import("./index-Yh65tUeq.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var domAnimation = () => __vitePreload(() => import("./index-ZrWL6Zdd.js"), true ? [] : void 0, import.meta.url).then((res2) => res2.default);
var PopoverContent = (props) => {
const { as, children, className, ...otherProps } = props;
const {
@@ -186288,11 +186288,11 @@ function AdminLayout({
/* @__PURE__ */ jsxRuntimeExports.jsx(
"a",
{
href: "https://github.com/bqlpfy/forward-panel",
href: "https://github.com/bqlpfy/flux-panel",
target: "_blank",
rel: "noopener noreferrer",
className: "text-gray-500 dark:text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors",
children: "哆啦A梦"
children: "flux-panel"
}
)
] }) }) })
@@ -186806,7 +186806,7 @@ function Provider({ children }) {
] }) }) });
}
client.createRoot(document.getElementById("root")).render(
/* @__PURE__ */ jsxRuntimeExports.jsx(MemoryRouter, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Provider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(App, {}) }) })
/* @__PURE__ */ jsxRuntimeExports.jsx(HashRouter, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Provider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(App, {}) }) })
);
export {
domAnimation$a as d
@@ -1,4 +1,4 @@
import { d as domAnimation } from "./index-BZa3KfLh.js";
import { d as domAnimation } from "./index-D_c2WXiO.js";
"use client";
var index_default = domAnimation;
export {
+5 -5
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
<title>哆啦A梦</title>
<title>flux-panel</title>
<script>
// 防止暗黑模式闪烁:在页面加载前立即应用系统主题
(function() {
@@ -107,13 +107,13 @@
background-color: #000000;
}
</style>
<meta key="title" content="哆啦A梦" property="og:title" />
<meta key="title" content="flux-panel" property="og:title" />
<meta
content="哆啦A梦"
content="flux-panel"
property="og:description"
/>
<meta
content="哆啦A梦"
content="flux-panel"
name="description"
/>
<meta
@@ -122,7 +122,7 @@
name="viewport"
/>
<link href="./assets/favicon-DI5FVxIz.ico" rel="icon" />
<script type="module" crossorigin src="./assets/index-BZa3KfLh.js"></script>
<script type="module" crossorigin src="./assets/index-D_c2WXiO.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-Bf4rZ0gS.css">
</head>
<body>
@@ -1,4 +1,4 @@
package com.doraemon
package com.flux
import android.graphics.Color
import android.net.Uri
@@ -11,6 +11,7 @@ import android.webkit.*
import androidx.webkit.WebViewAssetLoader
import android.content.res.Configuration
class MainActivity : AppCompatActivity() {
private lateinit var webView: WebView
@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Base.Theme.Doraemon" parent="Theme.Material3.DayNight.NoActionBar">
<style name="Base.Theme.Flux" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your dark theme here. -->
<!-- <item name="colorPrimary">@color/my_dark_primary</item> -->
<item name="android:statusBarColor">@android:color/transparent</item>
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">哆啦A梦</string>
<string name="app_name">Flux</string>
</resources>
@@ -1,11 +1,11 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Base.Theme.Doraemon" parent="Theme.Material3.DayNight.NoActionBar">
<style name="Base.Theme.Flux" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your light theme here. -->
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>
<style name="Theme.Doraemon" parent="Base.Theme.Doraemon" />
<style name="Theme.Flux" parent="Base.Theme.Flux" />
</resources>
@@ -1,4 +1,4 @@
package com.doraemon
package com.flux
import org.junit.Test
+1 -1
View File
@@ -13,5 +13,5 @@ dependencyResolutionManagement {
}
}
rootProject.name = "Doraemon"
rootProject.name = "Flux"
include ':app'