Skip to content

Commit 4205fc8

Browse files
fix: Rename gitignore to increase compatibility
1 parent f67c2fb commit 4205fc8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/modules/render.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@ export const render = async (data: Record<string, any>, projectPath: string) =>
1818
const oldRuntime = join(projectPath, "Assets/Package/Runtime", "HGS.Template.Runtime.asmdef");
1919
const newRuntime = join(projectPath, "Assets/Package/Runtime", `${data.namespace}.Runtime.asmdef`);
2020

21+
const oldGitIgnore = join(projectPath, ".gitignore.template");
22+
const newGitIgnore = join(projectPath, ".gitignore");
23+
2124
renameSync(oldRuntime, newRuntime);
25+
renameSync(oldGitIgnore, newGitIgnore);
2226
}
File renamed without changes.

0 commit comments

Comments
 (0)