diff --git a/.travis.yml b/.travis.yml index f608f5d05..88e3356c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ dist: trusty language: node_js node: - - 14 + - 18 if: tag IS blank AND commit_message =~ ci-build @@ -13,11 +13,13 @@ jobs: os: osx osx_image: "xcode12.5" script: + - npm run prepublish - electron-builder --publish=always - name: "Linux" os: linux script: + - npm run prepublish - sudo apt-get install rpm - electron-builder --publish=onTagOrDraft diff --git a/scripts/generate_pwa.js b/scripts/generate_pwa.js index ec614b927..7f5cf0fc6 100644 --- a/scripts/generate_pwa.js +++ b/scripts/generate_pwa.js @@ -1,11 +1,4 @@ const workbox = require('workbox-build'); -const fs = require('fs'); - -let bundle_file = fs.readFileSync('./js/webpack/bundle.js', 'utf-8'); -/*if (bundle_file.match(/