mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00

* package.json listed grunt ^0.4.5, which conflicts with grunt-nw-builder (requires grunt ^1.0.1). * Node versions 7 and above deprecated os.tmpDir, which is used in several dependencies such as temp (outdated deps?) To patch this, run 'npm install' as usual, then execute the shell script 'patch_tmpdir.sh' in the root of this repo.
8 lines
138 B
Bash
Executable File
8 lines
138 B
Bash
Executable File
#!/bin/bash
|
|
|
|
grep -rl "os.tmpDir" node_modules --include \*.js | while read -r file; do
|
|
|
|
sed -i 's/os.tmpDir/os.tmpdir/g' $file
|
|
|
|
done
|