Skip to content

Commit

Permalink
fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Oct 10, 2024
1 parent 570bb43 commit 4af857b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
3 changes: 2 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 4af857b

Please sign in to comment.