Merge pull request #53 from ColinKinloch/version_number

Fix version number for netplay

Users can't play online with each other unless version numbers are an exact match.
This commit is contained in:
Carles Pastor Badosa 2020-04-21 22:25:37 +02:00 committed by GitHub
commit eab9a08522
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

13
nodirtyversion.patch Normal file
View file

@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9af66009a1..2acd3bed9a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -149,7 +149,7 @@ if(GIT_FOUND)
OUTPUT_VARIABLE DOLPHIN_WC_REVISION
OUTPUT_STRIP_TRAILING_WHITESPACE)
# defines DOLPHIN_WC_DESCRIBE
- execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long --dirty
+ execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long
OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE
OUTPUT_STRIP_TRAILING_WHITESPACE)

View file

@ -75,6 +75,10 @@
"type": "patch",
"path": "forcexdg.patch"
},
{
"type": "patch",
"path": "nodirtyversion.patch"
},
{
"type": "file",
"path": "appdata.xml"