From 0c96b9d6ee14a9dcaafad303ed82357f252fdd6b Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 29 Feb 2024 21:44:15 +0100 Subject: Auto enable+configure devauth (#787) --- .devauth/config.toml | 6 ++++++ .gitignore | 3 +++ build.gradle.kts | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .devauth/config.toml diff --git a/.devauth/config.toml b/.devauth/config.toml new file mode 100644 index 000000000..1cb744bd4 --- /dev/null +++ b/.devauth/config.toml @@ -0,0 +1,6 @@ +defaultEnabled = true +defaultAccount = "main" + +[accounts.main] +type = "microsoft" + diff --git a/.gitignore b/.gitignore index b7744e951..d79aeba45 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,6 @@ gradle.properties # other .DS_STORE + +.devauth/* +!.devauth/config.toml diff --git a/build.gradle.kts b/build.gradle.kts index d28caedc1..c5d2cae2d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -146,7 +146,7 @@ loom { launchConfigs { "client" { property("mixin.debug", "true") - property("asmhelper.verbose", "true") + property("devauth.configDir", rootProject.file(".devauth").absolutePath) arg("--tweakClass", "org.spongepowered.asm.launch.MixinTweaker") arg("--tweakClass", "io.github.moulberry.moulconfig.tweaker.DevelopmentResourceTweaker") arg("--mods", devenvMod.resolve().joinToString(",") { it.relativeTo(file("run")).path }) -- cgit