From 71ac73ab242f9949379aa3b8c35f0d4dcc3cfaee Mon Sep 17 00:00:00 2001 From: Diego Magdaleno Date: Wed, 19 Aug 2020 10:38:19 -0500 Subject: [PATCH] Fix an issue where the glob would get expanded on UNIX systems --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8196c6f..de10814 100644 --- a/package.json +++ b/package.json @@ -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.\"",