File tree Expand file tree Collapse file tree 4 files changed +55
-5
lines changed
Expand file tree Collapse file tree 4 files changed +55
-5
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:16.04
2+
3+ RUN rm /bin/sh && ln -s /bin/bash /bin/sh && \
4+ sed -i 's/^mesg n$/tty -s \&\& mesg n/g' /root/.profile
5+
6+ WORKDIR /code
7+
8+ RUN apt update && apt install -y \
9+ g++-4.8 \
10+ icnsutils \
11+ graphicsmagick \
12+ libgnome-keyring-dev \
13+ xz-utils \
14+ xorriso \
15+ xvfb \
16+ devscripts \
17+ fakeroot \
18+ debhelper \
19+ automake \
20+ autotools-dev \
21+ pkg-config \
22+ git \
23+ ca-certificates \
24+ rpm \
25+ zip \
26+ snapcraft
27+
28+ RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash && \
29+ export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
30+ nvm install 8.4 && \
31+ npm install -g yarn
32+
33+ ENTRYPOINT ["/bin/bash" , "--login" , "-i" , "-c" ]
34+ CMD ["bash" ]
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- sudo docker run -v $( pwd) :/my-snap snapcore/snapcraft sh -c " apt update && cd /my-snap && snapcraft $@ "
3+ Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
4+ export DISPLAY=:99.0
5+ export DEBUG=electron-installer-snap:snapcraft
6+ sleep 5
7+
8+ yarn install
9+ yarn run production --verbose
10+ yarn run publish --verbose
Original file line number Diff line number Diff line change 2929 " github"
3030 ],
3131 "linux" : [
32- " github" ,
33- " snapStore"
32+ " github"
3433 ]
3534 },
3635 "make_targets" : {
4140 " zip"
4241 ],
4342 "linux" : [
43+ " snap" ,
4444 " deb" ,
4545 " rpm"
4646 ]
5656 "icon" : " ./resources/images/icon/icon.png"
5757 },
5858 "electronInstallerSnap" : {
59- "appPlugs" : [" browser-support" ],
59+ "appPlugs" : [
60+ " browser-support"
61+ ],
6062 "grade" : " stable" ,
6163 "desktopTemplate" : " ./.desktop"
6264 },
8284 " Utility"
8385 ]
8486 },
85- "snapStore" :{
87+ "snapStore" : {
8688 "release" : " stable"
8789 },
8890 "github_repository" : {
101103 "electron" : " 2.0.2" ,
102104 "electron-compile" : " ^6.4.2" ,
103105 "electron-log" : " ^2.2.14" ,
106+ "electron-squirrel-startup" : " ^1.0.0" ,
104107 "gitlab-time-tracker" : " ^1.7.19" ,
105108 "moment" : " ^2.20.1" ,
106109 "raven" : " ^2.6.2" ,
Original file line number Diff line number Diff line change @@ -3353,6 +3353,12 @@ electron-rebuild@^1.6.0:
33533353 spawn-rx "^2.0.10"
33543354 yargs "^7.0.2"
33553355
3356+ electron-squirrel-startup@^1.0.0 :
3357+ version "1.0.0"
3358+ resolved "https://registry.yarnpkg.com/electron-squirrel-startup/-/electron-squirrel-startup-1.0.0.tgz#19b4e55933fa0ef8f556784b9c660f772546a0b8"
3359+ dependencies :
3360+ debug "^2.2.0"
3361+
33563362electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.30, electron-to-chromium@^1.3.47 :
33573363 version "1.3.55"
33583364 resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.55.tgz#f150e10b20b77d9d41afcca312efe0c3b1a7fdce"
You can’t perform that action at this time.
0 commit comments