From 8a767bd2ad11806bd3945b3b7bd97c48c7017a28 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Fri, 13 Feb 2026 23:35:12 +0000 Subject: [PATCH] APQuest: Improve the auto-generated .gitignore for data/sounds (#5670) I didn't quite think this through: In this specific case, you want the gitignore to also ignore itself, since it itself is an auto-generated file. --- worlds/apquest/client/utils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/worlds/apquest/client/utils.py b/worlds/apquest/client/utils.py index 362e5fed11..ad8c854d4e 100644 --- a/worlds/apquest/client/utils.py +++ b/worlds/apquest/client/utils.py @@ -16,10 +16,6 @@ def make_data_directory(dir_name: str) -> Path: gitignore = specific_data_directory / ".gitignore" with open(gitignore, "w") as f: - f.write( - """* -!.gitignore -""" - ) + f.write("*\n") return specific_data_directory