Skip to content

Commit

Permalink
remove nested building (inflating final app size)
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Oct 12, 2024
1 parent a7b2c04 commit bbb688c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: windows
path: app/dist/win-unpacked
path: app/build/win-unpacked
linux:
name: "Linux"
runs-on: ubuntu-latest
Expand All @@ -50,4 +50,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: linux
path: app/dist/linux-unpacked
path: app/build/linux-unpacked
3 changes: 3 additions & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ logs
.env
.env.*
!.env.example

# Electron build files
build/
7 changes: 7 additions & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
"private": true,
"type": "module",
"main": "dist-electron/main.js",
"build": {
"appId": "me.frontesque.scrcpy-plus",
"directories": {
"buildResources": "static",
"output": "build"
}
},
"scripts": {
"build": "nuxi build --prerender && electron-builder",
"dev": "nuxt dev",
Expand Down

0 comments on commit bbb688c

Please sign in to comment.