From 4af857b99296eb925dc3e83cf8c77859d9248335 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 10 Oct 2024 14:42:59 -0400 Subject: [PATCH] fix builds --- .github/workflows/build.yaml | 12 ++++-------- app/package.json | 3 ++- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ffdc770..9da9dca 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,15 +23,13 @@ jobs: run: npm i working-directory: app - name: Build - run: npm run electron:build + run: npm run build working-directory: app - env: - NODE_OPTIONS: "--openssl-legacy-provider" - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: windows - path: app/dist_electron/win-unpacked + path: app/dist/win-unpacked linux: name: "Linux" runs-on: ubuntu-latest @@ -46,12 +44,10 @@ jobs: run: npm i working-directory: app - name: Build - run: npm run electron:build + run: npm run build working-directory: app - env: - NODE_OPTIONS: "--openssl-legacy-provider" - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: linux - path: app/dist_electron/linux-unpacked + path: app/dist/linux-unpacked diff --git a/app/package.json b/app/package.json index 769f97d..ebba23f 100644 --- a/app/package.json +++ b/app/package.json @@ -1,10 +1,11 @@ { "name": "scrcpy-plus", + "version": "3.0.0-canary", "private": true, "type": "module", "main": "dist-electron/main.js", "scripts": { - "build": "nuxt build", + "build": "nuxi build --prerender && electron-builder", "dev": "nuxt dev", "generate": "nuxt generate", "preview": "nuxt preview",