Fix an issue where the glob would get expanded on UNIX systems
This commit is contained in:
parent
f38f11a152
commit
71ac73ab24
|
@ -9,9 +9,9 @@
|
|||
"run": "electron .",
|
||||
"build": "npm run build:minify && npm run build:electron && npm run build:after",
|
||||
"build:electron": "npm run build:electron_win && npm run build:electron_linux && npm run build:electron_darwin",
|
||||
"build:electron_win": "electron-packager ./distApp --ignore=\"(distApp|builds|\\.ts|\\.so\\.4)\" --arch=ia32 --win32metadata.ProductName=\"Lightcord\" --win32metadata.CompanyName=\"Lightcord\" --protocol=discord --platform=\"win32\" --out=builds --icon=app.ico --executable-name=\"Lightcord\" --asar.unpack=*.{node,dll} --overwrite",
|
||||
"build:electron_linux": "electron-packager ./distApp --ignore=\"(distApp|builds|\\.ts|\\.dll)\" --arch=x64 --protocol=discord --platform=\"linux\" --out=builds --icon=app.ico --executable-name=\"Lightcord\" --asar.unpack=*.{node,so.4} --overwrite",
|
||||
"build:electron_darwin": "electron-packager ./distApp --ignore(distApp|builds|\\.ts\\.so\\.4\\.dll --arch=x64 --protocol=discord --platform=\"darwin\" --out=builds --icon=app.icon --executable-name=\"Lightcord\" --asar.unpack=*{.node.dylib} --overwrite",
|
||||
"build:electron_win": "electron-packager ./distApp --ignore=\"(distApp|builds|\\.ts|\\.so\\.4)\" --arch=ia32 --win32metadata.ProductName=\"Lightcord\" --win32metadata.CompanyName=\"Lightcord\" --protocol=discord --platform=\"win32\" --out=builds --icon=app.ico --executable-name=\"Lightcord\" --asar.unpack='*.{node,dll}' --overwrite",
|
||||
"build:electron_linux": "electron-packager ./distApp --ignore=\"(distApp|builds|\\.ts|\\.dll)\" --arch=x64 --protocol=discord --platform=\"linux\" --out=builds --icon=app.ico --executable-name=\"Lightcord\" --asar.unpack='*.{node,so.4}' --overwrite",
|
||||
"build:electron_darwin": "electron-packager ./distApp --ignore\"(distApp|builds|\\.ts\\.so\\.4\\.dll )\" --arch=x64 --protocol=discord --platform=\"darwin\" --out=builds --icon=app.icon --executable-name=\"Lightcord\" --asar.unpack='*.{node,dylib}' --overwrite",
|
||||
"build:minify": "node build.js",
|
||||
"build:after": "node afterbuild.js",
|
||||
"devInstall": "npm i --save-dev --arch=ia32 electron@8.4.0 && node installSubModules.js && echo \"Everything is installed. You should be able to do `npm run test` to compile everything and launch.\"",
|
||||
|
|
Loading…
Reference in New Issue