Unity: ignore mdb files and fix path to crashlytics file (it can be in other places)

Unity projects targeting the 2.0/3.5 runtime or built with mono < v5.0 generate `mdb` files, not `pdb` files.

Looks like the `crashlytics-build.properties` gets around in more than just the `StreamingAssets` folder, looking at [examples around the internets](https://github.com/auth0/sharelock-android/blob/master/app/src/main/assets/crashlytics-build.properties), so it should probably just be ignored as a filename.
This commit is contained in:
Andreia Gaita 2019-01-08 15:00:46 +00:00 committed by GitHub
parent f5496031c8
commit 24f6734840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,12 +26,14 @@ ExportedObj/
*.booproj *.booproj
*.svd *.svd
*.pdb *.pdb
*.mdb
*.opendb *.opendb
*.VC.db *.VC.db
# Unity3D generated meta files # Unity3D generated meta files
*.pidb.meta *.pidb.meta
*.pdb.meta *.pdb.meta
*.mdb.meta
# Unity3D generated file on crash reports # Unity3D generated file on crash reports
sysinfo.txt sysinfo.txt
@ -41,5 +43,5 @@ sysinfo.txt
*.unitypackage *.unitypackage
# Crashlytics generated file # Crashlytics generated file
Assets/StreamingAssets/crashlytics-build.properties crashlytics-build.properties