Skip to content

Commit 3df0bd0

Browse files
committed
feat: Rename patch tool
Remove the version (in case we ever need to use it for BE) and the dash (to make it easier for users to run)
1 parent 4495c40 commit 3df0bd0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules/
22
src/*.js
3-
patch-civ5.*
3+
patchciv.*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ sed -i 's/SELECT ModID from Mods where Activated = 1/SELECT ModID from Mods wher
5555
1. Run the patch tool, e.g.
5656

5757
```
58-
patch-civ5.exe 'C:\Program Files (x86)\Steam\steamapps\common\Sid Meier''s Civilization V\CivilizationV.exe'
58+
patchciv.exe 'C:\Program Files (x86)\Steam\steamapps\common\Sid Meier''s Civilization V\CivilizationV.exe'
5959
```
6060

6161
1. When playing the game, choose DirectX 9 (unfortunately the patch doesn't work for DirectX 11)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ npm install
55
node_modules/.bin/esbuild src/civPatcher.ts --bundle --platform=node --target=node12 --outfile=src/civPatcher.js
66
if [[ ! -f ~/.nexe/windows-x86-10.16.3 ]]; then
77
# Build the package once to fetch Node
8-
node_modules/.bin/nexe src/civPatcher.js -o patch-civ5 -t windows-x86-10.16.3
8+
node_modules/.bin/nexe src/civPatcher.js -o patchciv -t windows-x86-10.16.3
99
# Compress the Node executable
1010
upx --lzma ~/.nexe/windows-x86-10.16.3
1111
fi
1212
# Build the package with the compressed version of Node
13-
node_modules/.bin/nexe src/civPatcher.js -o patch-civ5 -t windows-x86-10.16.3
13+
node_modules/.bin/nexe src/civPatcher.js -o patchciv -t windows-x86-10.16.3

0 commit comments

Comments
 (0)