Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest node version and few small fixes #109

Merged
merged 5 commits into from
Aug 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
sudo: required
language: node_js
node_js:
- '4'
- '5'
- '6'
- '7'
- '8'
- '9'
- '10'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

matrix:
fast_finish: true
addons:
Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@ to `libblp.dll` and ensure it ends up on the load PATH.
By default, node-gyp compiles ffi for x64 so make sure `libblp.dll`
matches this architecture.

#### Ubuntu, Debian

```shell
sudo apt-get install cmake git gcc
git clone git://github.com/Kanma/BLPConverter.git
cd BLPConverter
cmake CMakeLists.txt -DWITH_LIBRARY=YES
sudo make install
sudo ldconfig
```

#### Other platforms

Compile from source and ensure the library ends up on the load path.
Expand Down Expand Up @@ -190,6 +201,17 @@ rename `StormLib.dll` to `libstorm.dll` and ensure it ends up on the load PATH.
By default, node-gyp compiles ffi for x64 so make sure `libstorm.dll`
matches this architecture.

#### Ubuntu, Debian

```shell
sudo apt-get install cmake git gcc zlib1g-dev
git clone git://github.com/ladislav-zezula/StormLib.git
cd StormLib
cmake CMakeLists.txt -DBUILD_SHARED_LIBS=ON
sudo make install
sudo ldconfig
```

#### Other platforms

Compile from source and ensure the library ends up on the load path.
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"wdt"
],
"dependencies": {
"ffi": "^2.0.0",
"ffi": "node-ffi/node-ffi.git",
"globby": "^8.0.1",
"ref": "^1.3.0",
"ref-array": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/mpq/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MPQChain {
path.join(dataDir, mpq)
));

const archives = glob.sync(patterns);
const archives = glob.sync(patterns, { nocase: true });

const mpq = MPQ.open(archives.shift(), MPQ.OPEN.READ_ONLY);
archives.forEach(archive => {
Expand Down