Skip to content

Commit 0d1af20

Browse files
committed
build: add debug command
1 parent d94d30e commit 0d1af20

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.circleci/config.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,13 @@ jobs:
121121
- image: ubuntudesktop/gnome-3-38-2004
122122
steps:
123123
- run: sudo apt-get -y update
124-
- run: sudo apt-get install -y git curl dpkg fakeroot rpm
125-
# - run: sudo snap install snapd
126-
# - run: sudo snap install snapcraft --classic
124+
- run: sudo apt-get install -y git curl dpkg fakeroot rpm lsb-release
127125
- install
128-
- run: npx yarn run publish --arch=<< parameters.arch >> --dry-run
126+
- run: echo $PATH
127+
- run: |
128+
export PATH="/snap/bin:$PATH"
129+
export SNAP="/snap/snapcraft/current"
130+
- run: DEBUG=electron-installer-snap:* npx yarn run publish --arch=<< parameters.arch >> --dry-run
129131
# CircleCI doesn't let you persist files with the same name from multiple
130132
# jobs, so only persist the .webpack path from the x64 linux-build job
131133
- when:

forge.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,8 @@ const config = {
143143
},
144144
features: {
145145
audio: true,
146-
video: true,
147-
webgl: true,
148146
},
147+
snapcraft: '/snap/bin/snapcraft',
149148
},
150149
},
151150
],

0 commit comments

Comments
 (0)