Skip to content

Commit f1e245c

Browse files
committed
Update version to 1.0.4, enhance .gitignore for plugin binaries, and allow project initialization in Git repositories without an Unreal project file.
1 parent 855dd41 commit f1e245c

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.3
1+
1.0.4
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
# Binary Files
22
/Binaries
33
# Un-ignore .dll files specifically for our project plugins (Windows)
4-
!Plugins/**/Binaries/Win64/*.dll
4+
!Plugins/
5+
!Plugins/**/
6+
!Plugins/**/Binaries/
7+
!Plugins/**/Binaries/Win64/
8+
!Plugins/**/Binaries/Win64/*.dll
9+
!Plugins/**/Binaries/Win64/*.lib
10+
!Plugins/**/Binaries/Win64/*.exp
11+
!Plugins/**/Binaries/Win64/*.modules

internal/projectconfig/merge.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ func DetectProjectRoot(path string) (string, error) {
2727
if _, err := os.Stat(filepath.Join(path, "Content")); err == nil {
2828
return path, nil
2929
}
30+
31+
// Allow initializing before the Unreal project exists if this is a Git repo
32+
if _, err := os.Stat(filepath.Join(path, ".git")); err == nil {
33+
fmt.Println("Warning: No .uproject or Content/ folder found. Proceeding because a .git folder was detected.")
34+
return path, nil
35+
}
3036
return "", errors.New("not an Unreal project folder (no .uproject or Content/)")
3137
}
3238

0 commit comments

Comments
 (0)