From b79914129a0bbfc84a08a4949941b6ff06262085 Mon Sep 17 00:00:00 2001 From: Aaron Ogle Date: Sat, 8 Apr 2017 18:11:48 -0500 Subject: [PATCH 1/3] Changed package name as needed by the snap package name and added snap as a build --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1bfb81f063..fe32af0ddc 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "rocketchat", + "name": "rocketchat-desktop", "productName": "Rocket.Chat+", "description": "Rocket.Chat Native Cross-Platform Desktop Application via Electron.", "version": "2.7.0-develop", @@ -46,7 +46,8 @@ }, "target": [ "deb", - "rpm" + "rpm", + "snap" ] } }, From b6d0a038d210601d195c91cdf51bde7450d66777 Mon Sep 17 00:00:00 2001 From: Aaron Ogle Date: Wed, 10 May 2017 17:15:06 -0500 Subject: [PATCH 2/3] removing from electron builder for now --- package.json | 3 +-- snap/gui/icon.png | Bin 0 -> 7031 bytes snap/gui/rocketchat-desktop.desktop | 9 +++++++ snap/snapcraft.yaml | 35 ++++++++++++++++++++++++++++ 4 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 snap/gui/icon.png create mode 100644 snap/gui/rocketchat-desktop.desktop create mode 100644 snap/snapcraft.yaml diff --git a/package.json b/package.json index 849444f390..8ecd8c2846 100644 --- a/package.json +++ b/package.json @@ -46,8 +46,7 @@ }, "target": [ "deb", - "rpm", - "snap" + "rpm" ] }, "publish": [ diff --git a/snap/gui/icon.png b/snap/gui/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..9e6c648006e61935e1d190a158d1b7b81de45922 GIT binary patch literal 7031 zcmb7JX*|>c^Z)&Jm$h=A>&m*%ST_+%B1i7Xy(u@jL(;BWNv@J4RwVaTLdZIDXCfedUem%qO?d@N`eswCS4R&_+7ZsnJoP7KCZJ?^U_fGW2#zx(`I&-cwUk{W-baj;@D?hpVfr z3kwTFdHFp?W<5IkeJ*apEiHXsego0?Uh8XLYwL!eJYAWY9Y}gm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*7R2DB(AA@}h0x2flOa@)PGdQ|^r~g>C(@$n zQZ6naaN2$&emwFQ?u_>xPUM{YJJOA#*DGV5=eH^H3H`$MW#WSPLu2YsbG6e$0I8Ol z%aHj9mk$&Q^f!s!ySHoJNGG`?a{qZ_vc_ZS?PZKdFigf);U()vM>O_KRC6k#c^IoN zMq^@uXrcR(b6E#vUqfFJ_(Y)Edry{aue_Fx>LxeQ`{$ZU6G#Wqf@CYD&;7{?^Qq@8 z+8AjGva1%%-tjisodg?mqFZL`+whJtY_gxNYMbV$ng}P+y9=u%3Dof2gRj$1qt%9x z9|I_>R3xuw+@?e0g`<9W9M9&2dssqvPS;2Cis#KvKg?#5@cWXO==zY&%XD367L311 zFhB0H?h~GAY92?ZGQ%QFsD6{a#j1He1y#55kn+)4;+l(&G&ap|A?fYahNm~s&@*LH z^K7QNgWOa~`n#*12eWpGs`~#&`80eLE5wgqlJeL43#b!clHO(H$2QRjq7+vPZPWNF zBxCqP4_&&FMwcBhH@rJEBr|$@RR}}Wh87x`CN^ykEG(#U^3j4qk!SL Date: Wed, 10 May 2017 17:32:05 -0500 Subject: [PATCH 3/3] add organize step to rename binary --- snap/snapcraft.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index a44d0b59d9..7c66c7c84c 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -30,6 +30,8 @@ parts: - gconf2 - libasound2 - pulseaudio + organize: + rocketchat: rocketchat-desktop source: dist/linux-unpacked after: - desktop-glib-only