diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4610c9a..d679a3c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,7 +81,11 @@ jobs: run: npm ci - name: Diagnose deb maker if: matrix.os == 'ubuntu-latest' - run: node -e "try{require('electron-installer-debian');console.log('deb installer OK')}catch(e){console.error(e)}" + run: | + node -e "const r=require('module').createRequire(require.resolve('@electron-forge/maker-base/package.json'));try{r('electron-installer-debian');console.log('OK from maker-base')}catch(e){console.error('FAIL from maker-base:',e)}" + node -e "const {MakerDeb}=require('@electron-forge/maker-deb');const m=new MakerDeb({});console.log('isSupported:',m.isSupportedOnCurrentPlatform());try{m.ensureExternalBinariesExist();console.log('binaries OK')}catch(e){console.error('binaries:',e.message)}" + ls -la node_modules/electron-installer-debian/ || echo "NOT INSTALLED" + which dpkg fakeroot || echo "missing binaries" - name: Make if: startsWith(github.ref, 'refs/tags/') run: npm run make -- --arch=${{ matrix.arch }} diff --git a/forge.config.js b/forge.config.js index f81c40a..e6df783 100644 --- a/forge.config.js +++ b/forge.config.js @@ -4,8 +4,6 @@ const package = require('./package.json'); require('dotenv').config() -process.env.TEMP = process.env.TMP = `C:\\Users\\FelixRieseberg\\AppData\\Local\\Temp` - const FLAGS = { SIGNTOOL_PATH: process.env.SIGNTOOL_PATH, AZURE_CODE_SIGNING_DLIB: process.env.AZURE_CODE_SIGNING_DLIB || path.join(__dirname, 'Microsoft.Trusted.Signing.Client.1.0.60/bin/x64/Azure.CodeSigning.Dlib.dll'),