File tree Expand file tree Collapse file tree 5 files changed +4
-12
lines changed Expand file tree Collapse file tree 5 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ inherits = "release" # 继承 release 的配置
135135panic = " unwind" # 与 release 相同
136136codegen-units = 32 # 增加编译单元,提升编译速度
137137lto = false # 禁用 LTO,提升编译速度
138- opt-level = 3 # 禁用优化,大幅提升编译速度
138+ opt-level = 1 # 禁用优化,大幅提升编译速度
139139debug = true # 保留调试信息
140140strip = false # 不剥离符号,保留调试信息
141141
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ mod app_init {
202202 cmd:: start_logs_monitoring,
203203 cmd:: stop_logs_monitoring,
204204 cmd:: clear_logs,
205- cmd:: get_system_monitor_overview,
205+ // cmd::get_system_monitor_overview,
206206 cmd:: start_traffic_service,
207207 cmd:: stop_traffic_service,
208208 // Verge configuration
Original file line number Diff line number Diff line change 2020 "createUpdaterArtifacts" : true
2121 },
2222 "build" : {
23- "beforeBuildCommand" : " pnpm run web:build" ,
2423 "frontendDist" : " ../dist" ,
2524 "beforeDevCommand" : " pnpm run web:dev" ,
2625 "devUrl" : " http://localhost:3000/"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import iconLight from "@/assets/image/icon_light.svg?react";
1616import iconDark from "@/assets/image/icon_dark.svg?react" ;
1717import { useThemeMode , useEnableLog } from "@/services/states" ;
1818import { LayoutItem } from "@/components/layout/layout-item" ;
19- import { LayoutTraffic } from "@/components/layout/layout-traffic" ;
19+ // import { LayoutTraffic } from "@/components/layout/layout-traffic";
2020import { UpdateButton } from "@/components/layout/update-button" ;
2121import { useCustomTheme } from "@/components/layout/use-custom-theme" ;
2222import getSystem from "@/utils/get-system" ;
@@ -583,7 +583,7 @@ const Layout = () => {
583583 </ List >
584584
585585 < div className = "the-traffic" >
586- < LayoutTraffic />
586+ { /* <LayoutTraffic /> */ }
587587 </ div >
588588 </ div >
589589
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import ProfilesPage from "./profiles";
44import SettingsPage from "./settings" ;
55import ConnectionsPage from "./connections" ;
66import RulesPage from "./rules" ;
7- import HomePage from "./home" ;
87import UnlockPage from "./unlock" ;
98import { BaseErrorBoundary } from "@/components/base" ;
109
@@ -27,12 +26,6 @@ import HomeRoundedIcon from "@mui/icons-material/HomeRounded";
2726import LockOpenRoundedIcon from "@mui/icons-material/LockOpenRounded" ;
2827
2928export const routers = [
30- {
31- label : "Label-Home" ,
32- path : "/home" ,
33- icon : [ < HomeRoundedIcon /> , < HomeSvg /> ] ,
34- element : < HomePage /> ,
35- } ,
3629 {
3730 label : "Label-Proxies" ,
3831 path : "/" ,
You can’t perform that action at this time.
0 commit comments