From 938d6c9bd4b9871c96cbe934cc1a4711a4702da3 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Tue, 25 Nov 2025 14:53:22 +0100 Subject: [PATCH] APQuest: Improve the auto-generated .gitignore for data/sounds 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