diff --git a/AGENTS.md b/AGENTS.md index 5198dc8..98980a0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -128,3 +128,9 @@ Note: The ConsoleColor mapping above is authoritative for the application. If yo - Navigation is always based strictly on the **relative path from root** and is consistent on all levels (Backspace always moves up one level, Enter always moves one level deeper, regardless of which layer). --- + +## License + +MIT License - Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +- Full text in `LICENSE` +- License headers in all source code files diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3556447 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 3084604..04368f8 100644 --- a/README.md +++ b/README.md @@ -212,3 +212,9 @@ Releases are automated via GitHub Actions (`.github/workflows/release.yml`). - Full technical requirements and build rules are in [`AGENTS.md`](AGENTS.md). - After any functional change, both `README.md` and `AGENTS.md` must be updated. - Every release **must** include release notes listing all changes and bugfixes. + +--- + +## License + +Licensed under the [MIT License](LICENSE) - Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) diff --git a/demo.sh b/demo.sh index 8357fd4..41c0d14 100755 --- a/demo.sh +++ b/demo.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +# Licensed under the MIT License. See LICENSE file in project root for details. + # === Demo setup and run script for MarcerGameDvdLauncher === # Creates a structured test directory with main and patch layers, # populates them with fake ZIPs, then launches the launcher. diff --git a/scripts/build.cmd b/scripts/build.cmd index e325e11..9a59e7f 100644 --- a/scripts/build.cmd +++ b/scripts/build.cmd @@ -1,3 +1,5 @@ +REM Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +REM Licensed under the MIT License. See LICENSE file in project root for details. @echo off REM === Build script for MarcerGameDvdLauncher (requires .NET SDK 6 or newer) === diff --git a/scripts/build.sh b/scripts/build.sh index 89828c0..dd1bbb4 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +# Licensed under the MIT License. See LICENSE file in project root for details. + # === Build script for MarcerGameDvdLauncher (requires .NET SDK 6 or newer) === echo "Building MarcerGameDvdLauncher..." diff --git a/scripts/start.cmd b/scripts/start.cmd index 16e0c90..2259134 100644 --- a/scripts/start.cmd +++ b/scripts/start.cmd @@ -1,3 +1,5 @@ +REM Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +REM Licensed under the MIT License. See LICENSE file in project root for details. @echo off REM Starts MarcerGameDvdLauncher.exe (script is in scripts/, code in src/) diff --git a/scripts/start.sh b/scripts/start.sh index c239e47..07286ae 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +# Licensed under the MIT License. See LICENSE file in project root for details. + # Starts MarcerGameDvdLauncher (script is in scripts/, code in src/) SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" EXE_PATH="$SCRIPT_DIR/../src/MarcerGameDvdLauncher/bin/Release/net10.0/MarcerGameDvdLauncher" diff --git a/src/MarcerGameDvdLauncher/AppConfiguration.cs b/src/MarcerGameDvdLauncher/AppConfiguration.cs index e8d7558..a701202 100644 --- a/src/MarcerGameDvdLauncher/AppConfiguration.cs +++ b/src/MarcerGameDvdLauncher/AppConfiguration.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + namespace MarcerGameDvdLauncher { // Configuration POCOs separated into their own file for clarity diff --git a/src/MarcerGameDvdLauncher/FavoritesService.cs b/src/MarcerGameDvdLauncher/FavoritesService.cs index 7cfafa4..eb3de12 100644 --- a/src/MarcerGameDvdLauncher/FavoritesService.cs +++ b/src/MarcerGameDvdLauncher/FavoritesService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + namespace MarcerGameDvdLauncher { // Manages loading, saving and querying favorite ZIP paths. diff --git a/src/MarcerGameDvdLauncher/HatariLauncher.cs b/src/MarcerGameDvdLauncher/HatariLauncher.cs index 45f8b4e..33fc241 100644 --- a/src/MarcerGameDvdLauncher/HatariLauncher.cs +++ b/src/MarcerGameDvdLauncher/HatariLauncher.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + namespace MarcerGameDvdLauncher { public class HatariLauncher diff --git a/src/MarcerGameDvdLauncher/LauncherApp.cs b/src/MarcerGameDvdLauncher/LauncherApp.cs index 8fd3922..296d67c 100644 --- a/src/MarcerGameDvdLauncher/LauncherApp.cs +++ b/src/MarcerGameDvdLauncher/LauncherApp.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + namespace MarcerGameDvdLauncher { // Encapsulates application lifecycle: load config, initialize components, run navigation diff --git a/src/MarcerGameDvdLauncher/MenuRenderer.cs b/src/MarcerGameDvdLauncher/MenuRenderer.cs index 4e5284d..07796b0 100644 --- a/src/MarcerGameDvdLauncher/MenuRenderer.cs +++ b/src/MarcerGameDvdLauncher/MenuRenderer.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + namespace MarcerGameDvdLauncher { public class MenuRenderer diff --git a/src/MarcerGameDvdLauncher/NavigationController.cs b/src/MarcerGameDvdLauncher/NavigationController.cs index 58d277e..76afa90 100644 --- a/src/MarcerGameDvdLauncher/NavigationController.cs +++ b/src/MarcerGameDvdLauncher/NavigationController.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + namespace MarcerGameDvdLauncher { public class NavigationController diff --git a/src/MarcerGameDvdLauncher/OverlayDirectoryBrowser.cs b/src/MarcerGameDvdLauncher/OverlayDirectoryBrowser.cs index 4bc347b..a22ae4a 100644 --- a/src/MarcerGameDvdLauncher/OverlayDirectoryBrowser.cs +++ b/src/MarcerGameDvdLauncher/OverlayDirectoryBrowser.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + namespace MarcerGameDvdLauncher { public enum EntryKind { Directory, Zip } diff --git a/src/MarcerGameDvdLauncher/Program.cs b/src/MarcerGameDvdLauncher/Program.cs index 961e5fa..2a1e957 100644 --- a/src/MarcerGameDvdLauncher/Program.cs +++ b/src/MarcerGameDvdLauncher/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + namespace MarcerGameDvdLauncher { class Program diff --git a/src/MarcerGameDvdLauncher/ProgramHelpers.cs b/src/MarcerGameDvdLauncher/ProgramHelpers.cs index d30e1a4..5e3c78e 100644 --- a/src/MarcerGameDvdLauncher/ProgramHelpers.cs +++ b/src/MarcerGameDvdLauncher/ProgramHelpers.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + using System; using System.Runtime.InteropServices; diff --git a/src/MarcerGameDvdLauncher/UIErrorService.cs b/src/MarcerGameDvdLauncher/UIErrorService.cs index 613cf21..6e55c5a 100644 --- a/src/MarcerGameDvdLauncher/UIErrorService.cs +++ b/src/MarcerGameDvdLauncher/UIErrorService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +// Licensed under the MIT License. See LICENSE file in project root for details. + namespace MarcerGameDvdLauncher; ///