From 6b88ba76c26215455b1e8a14bf47ba0af2a8b70f Mon Sep 17 00:00:00 2001 From: krvstek <138402769+krvstek@users.noreply.github.com> Date: Sun, 28 Jun 2026 15:14:31 +0200 Subject: [PATCH] chore: Add missing license headers --- src/main/kotlin/app/morphe/cli/command/CommandUtils.kt | 5 +++++ .../kotlin/app/morphe/cli/command/ListCompatibleVersions.kt | 5 +++++ src/main/kotlin/app/morphe/cli/command/MainCommand.kt | 5 +++++ src/main/kotlin/app/morphe/cli/command/OptionsCommand.kt | 5 +++++ src/main/kotlin/app/morphe/cli/command/PatchFileResolver.kt | 5 +++++ src/main/kotlin/app/morphe/cli/command/model/FailedPatch.kt | 5 +++++ .../kotlin/app/morphe/cli/command/model/PatchOptionsFile.kt | 5 +++++ .../kotlin/app/morphe/cli/command/model/PatchingResult.kt | 5 +++++ src/main/kotlin/app/morphe/cli/command/model/PatchingStep.kt | 5 +++++ .../app/morphe/cli/command/model/PatchingStepResult.kt | 5 +++++ .../kotlin/app/morphe/cli/command/model/SerializablePatch.kt | 5 +++++ .../kotlin/app/morphe/cli/command/utility/InstallCommand.kt | 5 +++++ .../app/morphe/cli/command/utility/UninstallCommand.kt | 5 +++++ .../kotlin/app/morphe/cli/command/utility/UtilityCommand.kt | 5 +++++ src/main/kotlin/app/morphe/engine/PlatformCheck.kt | 5 +++++ src/main/kotlin/app/morphe/engine/UpdateChecker.kt | 5 +++++ .../morphe/gui/ui/screens/patches/PatchSelectionScreen.kt | 5 +++++ src/main/kotlin/app/morphe/gui/ui/theme/ChannelColors.kt | 5 +++++ src/main/kotlin/app/morphe/gui/ui/theme/MorpheTypography.kt | 5 +++++ src/main/kotlin/app/morphe/gui/util/VersionUtils.kt | 5 +++++ .../app/morphe/cli/command/OptionValueConverterTest.kt | 5 +++++ .../kotlin/app/morphe/cli/command/PatchOptionsFileTest.kt | 5 +++++ 22 files changed, 110 insertions(+) diff --git a/src/main/kotlin/app/morphe/cli/command/CommandUtils.kt b/src/main/kotlin/app/morphe/cli/command/CommandUtils.kt index 5f240e5e..76df390b 100644 --- a/src/main/kotlin/app/morphe/cli/command/CommandUtils.kt +++ b/src/main/kotlin/app/morphe/cli/command/CommandUtils.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command import picocli.CommandLine diff --git a/src/main/kotlin/app/morphe/cli/command/ListCompatibleVersions.kt b/src/main/kotlin/app/morphe/cli/command/ListCompatibleVersions.kt index 523389c4..ca274695 100644 --- a/src/main/kotlin/app/morphe/cli/command/ListCompatibleVersions.kt +++ b/src/main/kotlin/app/morphe/cli/command/ListCompatibleVersions.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command import app.morphe.engine.MorpheData diff --git a/src/main/kotlin/app/morphe/cli/command/MainCommand.kt b/src/main/kotlin/app/morphe/cli/command/MainCommand.kt index 979c709c..b90bc369 100644 --- a/src/main/kotlin/app/morphe/cli/command/MainCommand.kt +++ b/src/main/kotlin/app/morphe/cli/command/MainCommand.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command import app.morphe.cli.command.utility.UtilityCommand diff --git a/src/main/kotlin/app/morphe/cli/command/OptionsCommand.kt b/src/main/kotlin/app/morphe/cli/command/OptionsCommand.kt index 3229d55c..9eccea8f 100644 --- a/src/main/kotlin/app/morphe/cli/command/OptionsCommand.kt +++ b/src/main/kotlin/app/morphe/cli/command/OptionsCommand.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command import app.morphe.cli.command.model.PatchBundle diff --git a/src/main/kotlin/app/morphe/cli/command/PatchFileResolver.kt b/src/main/kotlin/app/morphe/cli/command/PatchFileResolver.kt index ece55d2e..8266372b 100644 --- a/src/main/kotlin/app/morphe/cli/command/PatchFileResolver.kt +++ b/src/main/kotlin/app/morphe/cli/command/PatchFileResolver.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command import app.morphe.engine.patches.RemotePatchSourceFactory diff --git a/src/main/kotlin/app/morphe/cli/command/model/FailedPatch.kt b/src/main/kotlin/app/morphe/cli/command/model/FailedPatch.kt index 3b80ce44..a26fbbbc 100644 --- a/src/main/kotlin/app/morphe/cli/command/model/FailedPatch.kt +++ b/src/main/kotlin/app/morphe/cli/command/model/FailedPatch.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command.model import kotlinx.serialization.ExperimentalSerializationApi diff --git a/src/main/kotlin/app/morphe/cli/command/model/PatchOptionsFile.kt b/src/main/kotlin/app/morphe/cli/command/model/PatchOptionsFile.kt index 2d65757f..1dccb32a 100644 --- a/src/main/kotlin/app/morphe/cli/command/model/PatchOptionsFile.kt +++ b/src/main/kotlin/app/morphe/cli/command/model/PatchOptionsFile.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command.model import app.morphe.patcher.patch.Patch diff --git a/src/main/kotlin/app/morphe/cli/command/model/PatchingResult.kt b/src/main/kotlin/app/morphe/cli/command/model/PatchingResult.kt index 2ffaaf24..c56862be 100644 --- a/src/main/kotlin/app/morphe/cli/command/model/PatchingResult.kt +++ b/src/main/kotlin/app/morphe/cli/command/model/PatchingResult.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command.model import kotlinx.serialization.EncodeDefault diff --git a/src/main/kotlin/app/morphe/cli/command/model/PatchingStep.kt b/src/main/kotlin/app/morphe/cli/command/model/PatchingStep.kt index 8f521da6..ed8873cf 100644 --- a/src/main/kotlin/app/morphe/cli/command/model/PatchingStep.kt +++ b/src/main/kotlin/app/morphe/cli/command/model/PatchingStep.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command.model enum class PatchingStep { diff --git a/src/main/kotlin/app/morphe/cli/command/model/PatchingStepResult.kt b/src/main/kotlin/app/morphe/cli/command/model/PatchingStepResult.kt index 419ba2f9..27c2ba9b 100644 --- a/src/main/kotlin/app/morphe/cli/command/model/PatchingStepResult.kt +++ b/src/main/kotlin/app/morphe/cli/command/model/PatchingStepResult.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command.model import kotlinx.serialization.ExperimentalSerializationApi diff --git a/src/main/kotlin/app/morphe/cli/command/model/SerializablePatch.kt b/src/main/kotlin/app/morphe/cli/command/model/SerializablePatch.kt index fb484cdc..57d4594c 100644 --- a/src/main/kotlin/app/morphe/cli/command/model/SerializablePatch.kt +++ b/src/main/kotlin/app/morphe/cli/command/model/SerializablePatch.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command.model import app.morphe.patcher.patch.Patch diff --git a/src/main/kotlin/app/morphe/cli/command/utility/InstallCommand.kt b/src/main/kotlin/app/morphe/cli/command/utility/InstallCommand.kt index bfb99b3b..721d59e2 100644 --- a/src/main/kotlin/app/morphe/cli/command/utility/InstallCommand.kt +++ b/src/main/kotlin/app/morphe/cli/command/utility/InstallCommand.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command.utility import app.morphe.engine.util.ApkManifestReader diff --git a/src/main/kotlin/app/morphe/cli/command/utility/UninstallCommand.kt b/src/main/kotlin/app/morphe/cli/command/utility/UninstallCommand.kt index ffd13ad8..cd0c174a 100644 --- a/src/main/kotlin/app/morphe/cli/command/utility/UninstallCommand.kt +++ b/src/main/kotlin/app/morphe/cli/command/utility/UninstallCommand.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command.utility import app.morphe.library.installation.installer.AdbInstaller diff --git a/src/main/kotlin/app/morphe/cli/command/utility/UtilityCommand.kt b/src/main/kotlin/app/morphe/cli/command/utility/UtilityCommand.kt index 18b1e9e4..1ef55209 100644 --- a/src/main/kotlin/app/morphe/cli/command/utility/UtilityCommand.kt +++ b/src/main/kotlin/app/morphe/cli/command/utility/UtilityCommand.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command.utility import picocli.CommandLine diff --git a/src/main/kotlin/app/morphe/engine/PlatformCheck.kt b/src/main/kotlin/app/morphe/engine/PlatformCheck.kt index cdc40888..108a56ac 100644 --- a/src/main/kotlin/app/morphe/engine/PlatformCheck.kt +++ b/src/main/kotlin/app/morphe/engine/PlatformCheck.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.engine internal fun isWindows(): Boolean { diff --git a/src/main/kotlin/app/morphe/engine/UpdateChecker.kt b/src/main/kotlin/app/morphe/engine/UpdateChecker.kt index 1b702917..fd497849 100644 --- a/src/main/kotlin/app/morphe/engine/UpdateChecker.kt +++ b/src/main/kotlin/app/morphe/engine/UpdateChecker.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.engine import java.net.HttpURLConnection diff --git a/src/main/kotlin/app/morphe/gui/ui/screens/patches/PatchSelectionScreen.kt b/src/main/kotlin/app/morphe/gui/ui/screens/patches/PatchSelectionScreen.kt index 1d9a3c28..5df6dc90 100644 --- a/src/main/kotlin/app/morphe/gui/ui/screens/patches/PatchSelectionScreen.kt +++ b/src/main/kotlin/app/morphe/gui/ui/screens/patches/PatchSelectionScreen.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.gui.ui.screens.patches import androidx.compose.animation.AnimatedVisibility diff --git a/src/main/kotlin/app/morphe/gui/ui/theme/ChannelColors.kt b/src/main/kotlin/app/morphe/gui/ui/theme/ChannelColors.kt index 7e2eff2e..c6198c6e 100644 --- a/src/main/kotlin/app/morphe/gui/ui/theme/ChannelColors.kt +++ b/src/main/kotlin/app/morphe/gui/ui/theme/ChannelColors.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.gui.ui.theme import androidx.compose.material3.MaterialTheme diff --git a/src/main/kotlin/app/morphe/gui/ui/theme/MorpheTypography.kt b/src/main/kotlin/app/morphe/gui/ui/theme/MorpheTypography.kt index f3c3a4e1..482c86c3 100644 --- a/src/main/kotlin/app/morphe/gui/ui/theme/MorpheTypography.kt +++ b/src/main/kotlin/app/morphe/gui/ui/theme/MorpheTypography.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.gui.ui.theme import androidx.compose.runtime.Composable diff --git a/src/main/kotlin/app/morphe/gui/util/VersionUtils.kt b/src/main/kotlin/app/morphe/gui/util/VersionUtils.kt index 14cfa5f3..044f0ee4 100644 --- a/src/main/kotlin/app/morphe/gui/util/VersionUtils.kt +++ b/src/main/kotlin/app/morphe/gui/util/VersionUtils.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.gui.util import app.morphe.gui.data.model.SupportedApp diff --git a/src/test/kotlin/app/morphe/cli/command/OptionValueConverterTest.kt b/src/test/kotlin/app/morphe/cli/command/OptionValueConverterTest.kt index 89fe5b33..70d248c1 100644 --- a/src/test/kotlin/app/morphe/cli/command/OptionValueConverterTest.kt +++ b/src/test/kotlin/app/morphe/cli/command/OptionValueConverterTest.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command import kotlin.test.Test diff --git a/src/test/kotlin/app/morphe/cli/command/PatchOptionsFileTest.kt b/src/test/kotlin/app/morphe/cli/command/PatchOptionsFileTest.kt index edb34da6..2a641926 100644 --- a/src/test/kotlin/app/morphe/cli/command/PatchOptionsFileTest.kt +++ b/src/test/kotlin/app/morphe/cli/command/PatchOptionsFileTest.kt @@ -1,3 +1,8 @@ +/* + * Copyright 2026 Morphe. + * https://github.com/MorpheApp/morphe-cli + */ + package app.morphe.cli.command import app.morphe.cli.command.model.PatchBundle