diff options
author | Linnea Gräf <nea@nea.moe> | 2024-02-29 21:44:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-29 21:44:15 +0100 |
commit | 0c96b9d6ee14a9dcaafad303ed82357f252fdd6b (patch) | |
tree | fe59eca2f2dc5aff6ff0f8f9bb286be28d7d2a0b | |
parent | 66ee24f687c60d822ca8c581de1f652025ef76ba (diff) | |
download | skyhanni-0c96b9d6ee14a9dcaafad303ed82357f252fdd6b.tar.gz skyhanni-0c96b9d6ee14a9dcaafad303ed82357f252fdd6b.tar.bz2 skyhanni-0c96b9d6ee14a9dcaafad303ed82357f252fdd6b.zip |
Auto enable+configure devauth (#787)
-rw-r--r-- | .devauth/config.toml | 6 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | build.gradle.kts | 2 |
3 files changed, 10 insertions, 1 deletions
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 }) |