From 80656dd5d75c09c464eee1cc28434038decf9e19 Mon Sep 17 00:00:00 2001 From: Philip Peterson Date: Sun, 8 Dec 2024 04:37:39 -0900 Subject: [PATCH] Try fix things --- .github/workflows/nodejs.yml | 3 +-- app/index.ts | 2 +- electron-builder.json | 8 -------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f2fc10f2..e4391907 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -85,7 +85,6 @@ jobs: dist/*.snap dist/*.AppImage dist/*.deb - dist/*.rpm dist/*.pacman dist/*.exe - name: Run E2E Tests @@ -182,7 +181,7 @@ jobs: sudo apt install -y libglib2.0-0:i386 libexpat1:i386 libgcc-s1:i386 npm_config_arch=armv7l yarn run v8-snapshot:arch - name: Build - run: yarn run electron-builder -l deb rpm AppImage pacman --${{ matrix.name }} -c electron-builder-linux-ci.json + run: yarn run electron-builder -l deb AppImage pacman --${{ matrix.name }} -c electron-builder-linux-ci.json env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Archive Build Artifacts diff --git a/app/index.ts b/app/index.ts index 84a804a4..fa3910da 100644 --- a/app/index.ts +++ b/app/index.ts @@ -238,6 +238,6 @@ app.on('open-file', (_event, path) => { app.on('open-url', (_event, sshUrl) => { GetWindow((win: BrowserWindow) => { - win.rpc.emit('open ssh', parseUrl(sshUrl)); + win.rpc.emit('open ssh', parseUrl(sshUrl) as any); }); }); diff --git a/electron-builder.json b/electron-builder.json index b01cab6e..fab1cd19 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -23,7 +23,6 @@ "target": [ "deb", "AppImage", - "rpm", "snap", "pacman" ] @@ -103,13 +102,6 @@ "compression": "bzip2", "afterInstall": "./build/linux/after-install.tpl" }, - "rpm": { - "afterInstall": "./build/linux/after-install.tpl", - "fpm": [ - "--rpm-rpmbuild-define", - "_build_id_links none" - ] - }, "snap": { "confinement": "classic", "publish": "github"