From a210ab86ee43dea3b4d9d0f2af5750c5a4adf096 Mon Sep 17 00:00:00 2001 From: "1992414357@qq.com" <1992414357@qq.com> Date: Fri, 13 Jun 2025 19:20:06 +0800 Subject: . --- .cargo/config.toml | 24 +- .idea/NoGamepads.iml | 8 +- .idea/runConfigurations/Build_All.xml | 4 +- Cargo.toml | 4 +- Config_Export.toml | 21 - LICENSE-LGPL-2 | 464 ------ LICENSE-MIT | 18 + LICENSE-THIRD-PARTY | 603 -------- Project_Export.toml | 25 + README.md | 33 +- apps/client/Cargo.toml | 15 + apps/client/arts/Concept.psd | Bin 0 -> 7568065 bytes apps/client/src/bevy_plugins/mod.rs | 1 + apps/client/src/bevy_plugins/plugin_client_app.rs | 80 ++ apps/client/src/bin/pad.rs | 23 + apps/client/src/data/layout_data.rs | 106 ++ apps/client/src/data/mod.rs | 1 + apps/client/src/lib.rs | 2 + apps/console/Cargo.lock | 1482 ++++++++++++++++++++ apps/console/Cargo.toml | 16 + apps/console/src/bin/padc.rs | 742 ++++++++++ apps/console/src/lib.rs | 1 + apps/console/src/utils.rs | 107 ++ client/Cargo.toml | 15 - client/arts/Concept.psd | Bin 7568065 -> 0 bytes client/src/bevy_plugins/mod.rs | 1 - client/src/bevy_plugins/plugin_client_app.rs | 80 -- client/src/bin/pad.rs | 23 - client/src/data/layout_data.rs | 106 -- client/src/data/mod.rs | 1 - client/src/lib.rs | 2 - console/Cargo.lock | 1482 -------------------- console/Cargo.toml | 16 - console/src/bin/padc.rs | 742 ---------- console/src/lib.rs | 1 - console/src/utils.rs | 107 -- export/.gitignore | 2 +- export/dev/LICENSE-LGPL-2 | 464 ------ export/dev/LICENSE-THIRD-PARTY | 603 -------- .../completeion/install_completion_powershell.ps1 | 39 - export/dev/bin/padc.exe | Bin 6470144 -> 0 bytes export/src/bin/export_project.rs | 2 +- 42 files changed, 2648 insertions(+), 4818 deletions(-) delete mode 100644 Config_Export.toml delete mode 100644 LICENSE-LGPL-2 create mode 100644 LICENSE-MIT delete mode 100644 LICENSE-THIRD-PARTY create mode 100644 Project_Export.toml create mode 100644 apps/client/Cargo.toml create mode 100644 apps/client/arts/Concept.psd create mode 100644 apps/client/src/bevy_plugins/mod.rs create mode 100644 apps/client/src/bevy_plugins/plugin_client_app.rs create mode 100644 apps/client/src/bin/pad.rs create mode 100644 apps/client/src/data/layout_data.rs create mode 100644 apps/client/src/data/mod.rs create mode 100644 apps/client/src/lib.rs create mode 100644 apps/console/Cargo.lock create mode 100644 apps/console/Cargo.toml create mode 100644 apps/console/src/bin/padc.rs create mode 100644 apps/console/src/lib.rs create mode 100644 apps/console/src/utils.rs delete mode 100644 client/Cargo.toml delete mode 100644 client/arts/Concept.psd delete mode 100644 client/src/bevy_plugins/mod.rs delete mode 100644 client/src/bevy_plugins/plugin_client_app.rs delete mode 100644 client/src/bin/pad.rs delete mode 100644 client/src/data/layout_data.rs delete mode 100644 client/src/data/mod.rs delete mode 100644 client/src/lib.rs delete mode 100644 console/Cargo.lock delete mode 100644 console/Cargo.toml delete mode 100644 console/src/bin/padc.rs delete mode 100644 console/src/lib.rs delete mode 100644 console/src/utils.rs delete mode 100644 export/dev/LICENSE-LGPL-2 delete mode 100644 export/dev/LICENSE-THIRD-PARTY delete mode 100644 export/dev/bin/completeion/install_completion_powershell.ps1 delete mode 100644 export/dev/bin/padc.exe diff --git a/.cargo/config.toml b/.cargo/config.toml index 96a2c0c..91c273c 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,18 +1,28 @@ +[build] +target-dir = "./.cargo/shared/target" + [alias] + +# Build configurations for debug and release environments +dev_build = ["build", "--workspace", "--profile", "dev"] +release_build = ["build", "--workspace", "--profile", "release"] + +# Export configurations for debug and release environments dev = ["run", "--manifest-path", "./export/Cargo.toml", "--profile", "dev", "--bin", "export_project", "dev"] -export = ["run", "--manifest-path", "./export/Cargo.toml", "--profile", "release", "--bin", "export_project"] +release = ["run", "--manifest-path", "./export/Cargo.toml", "--profile", "release", "--bin", "export_project"] -padc = ["run", "--manifest-path", "./console/Cargo.toml", "--profile", "dev", "--quiet", "--bin", "padc"] +# Compile and run the console +padc = ["run", "--manifest-path", "./apps/console/Cargo.toml", "--profile", "dev", "--quiet", "--bin", "padc"] -[build] -target-dir = "./.cargo/shared/target" +# Compile and run the client +pad = ["run", "--manifest-path", "./apps/client/Cargo.toml", "--profile", "dev", "--quiet", "--bin", "pad"] [env] -# Project Settings +# Project version settings PROJECT_VERSION = { value = "0.1.0" } -# Pad Console Cli +# Default account information for the console TEST_PLAYER_ACCOUNT = { value = "ame_na_lisa" } TEST_PLAYER_PASSWORD = { value = "amenalisa@@:P_QWQ" } -TEST_PLAYER_NICKNAME = { value = "Ame.Na.LISA" } +TEST_PLAYER_NICKNAME = { value = "Ame.Na.LISA" } \ No newline at end of file diff --git a/.idea/NoGamepads.iml b/.idea/NoGamepads.iml index b3b0738..e375e39 100644 --- a/.idea/NoGamepads.iml +++ b/.idea/NoGamepads.iml @@ -4,18 +4,18 @@ - - - + + + - + diff --git a/.idea/runConfigurations/Build_All.xml b/.idea/runConfigurations/Build_All.xml index 51694ee..63caef9 100644 --- a/.idea/runConfigurations/Build_All.xml +++ b/.idea/runConfigurations/Build_All.xml @@ -1,7 +1,7 @@