summaryrefslogtreecommitdiff
path: root/development/atom/atom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/atom/atom.SlackBuild')
-rw-r--r--development/atom/atom.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild
index 309269a2e4..11f12d7703 100644
--- a/development/atom/atom.SlackBuild
+++ b/development/atom/atom.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=atom
-VERSION=${VERSION:-1.6.2}
+VERSION=${VERSION:-1.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,6 +74,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# FIX electron in 1.7.x and up
+sed -i -e 's/"electronVersion":\ "0.36.8"/"electronVersion":\ "0.36.12"/' package.json
+
if [ "$DISABLE_METRICS" = "yes" ]; then
sed -i '/"metrics":/d' package.json
fi