forked from Automat-GH/minecrift
-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start to implement use of createSwapTextureSet
- Loading branch information
1 parent
af91d6c
commit 5e34ca7
Showing
8 changed files
with
148 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ patchsrc/ | |
src/JRift | ||
bin/intelij_prod | ||
optionsvrprofiles.txt | ||
crash-reports/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@echo off | ||
python normalisePatchLineEndings.py %* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import sys, os | ||
|
||
def normalisePatchLineEndings(): | ||
|
||
base_dir = os.path.dirname(os.path.abspath(__file__)) | ||
patchDir = os.path.join(base_dir, 'patches') | ||
for root, dirs, files in os.walk(patchDir): | ||
for file in files: | ||
if file.endswith(".java.patch"): | ||
fileContent = '' | ||
patchFile = os.path.join(root, file) | ||
with open( patchFile, 'rb') as input: | ||
fileContent = input.read() | ||
with open( patchFile, 'wb') as out: | ||
out.write( fileContent.replace('\r\n','\n').replace('\r','\n') ) | ||
|
||
if __name__ == '__main__': | ||
normalisePatchLineEndings() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters