From 64246b2111e0ec32569a243d385d157b6db204ae Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Tue, 26 Nov 2019 21:18:40 -0800 Subject: [PATCH] tbh this perms thing is just annoying --- freechat-client/scripts/setup-electron.sh | 2 +- freechat-client/scripts/setup-js-css.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/freechat-client/scripts/setup-electron.sh b/freechat-client/scripts/setup-electron.sh index 2ad4010..bcdcda8 100644 --- a/freechat-client/scripts/setup-electron.sh +++ b/freechat-client/scripts/setup-electron.sh @@ -1,5 +1,5 @@ #!/bin/sh # Just setting up all things npm here npm install -chmod 1755 node_modules/electron/dist/chrome-sandbox +chmod 7755 node_modules/electron/dist/chrome-sandbox sudo chown root node_modules/electron/dist/chrome-sandbox diff --git a/freechat-client/scripts/setup-js-css.sh b/freechat-client/scripts/setup-js-css.sh index e51b1f3..17187db 100644 --- a/freechat-client/scripts/setup-js-css.sh +++ b/freechat-client/scripts/setup-js-css.sh @@ -9,11 +9,12 @@ bootstrapBundle='https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap bootstrap='https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' faCss='https://use.fontawesome.com/releases/v5.8.2/css/all.css' +purecss='https://unpkg.com/purecss@1.0.1/build/pure-min.css' for js in $jquery $bootstrapBundle;do wget -O $jsFolder/`basename $js` $js done -for css in $bootstrap $faCss;do +for css in $bootstrap $faCss $purecss;do wget -O $cssFolder/`basename $css` $js done \ No newline at end of file