Skip to content

Commit

Permalink
linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 committed Jun 17, 2024
1 parent 763d143 commit be8e721
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ jobs:
with:
cache: "npm"

- name: Get version of the project
id: project-version
uses: euberdeveloper/ga-project-version@main

- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
with:
Expand All @@ -70,7 +66,14 @@ jobs:
- name: Install dependencies
run: npm install

- name: 📦 Electron Builder
- name: 📦 Electron Builder Linux
run: npm run electron:package:linux
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: tree

- name: 📦 Electron Builder Windows
run: npm run electron:package:win
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"start-electron": "set ELECTRON_START_URL=http://localhost:3000/ && electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"electron:package:win": "npm run build && electron-builder -w -c.extraMetadata.main=build/electron.js"
"electron:package:win": "npm run build && electron-builder -w -c.extraMetadata.main=build/electron.js",
"electron:package:linux": "npm run build && electron-builder -l -c.extraMetadata.main=build/electron.js"
},
"eslintConfig": {
"extends": [
Expand Down Expand Up @@ -85,6 +86,12 @@
"nsis"
]
},
"linux": {
"target": [
"AppImage",
"deb"
]
},
"files": [
"build/**/*",
"node_modules/**/*",
Expand Down

0 comments on commit be8e721

Please sign in to comment.