File tree 2 files changed +18
-2
lines changed
2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 131
131
"update-commit-hash:darwin:linux" : " COMMIT_INFO=$(git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD); echo \" {\\\" commitInfo\\\" : \\\" $COMMIT_INFO\\\" }\" > \" src/commitInfo.json\" " ,
132
132
"update-commit-hash:win32" : " tools/get_app_version_for_windows.bat" ,
133
133
"generate-notice" : " mkdirp notices && yarn licenses generate-disclaimer --production > notices/notices.txt && yarn node tools/generateNotices.js" ,
134
- "ship-linux" : " yarn build && electron-builder --linux --x64 --publish never && mkdir -p release/linux && mv 'release/OpossumUI-0.1.0.AppImage' 'release/linux/OpossumUI-for-linux.AppImage' " ,
134
+ "ship-linux" : " yarn build && tools/build_linux_release.sh " ,
135
135
"ship-win" : " yarn build && electron-builder --win --x64 --publish never && mkdirp release/win && mv \" release/OpossumUI Setup 0.1.0.exe\" \" release/win/OpossumUI-for-win.exe\" " ,
136
136
"ship-mac" : " yarn build && electron-builder --mac --x64 --publish never && zip -r -y -q 'release/mac/OpossumUI-for-mac.zip' 'release/mac/'" ,
137
137
"ship" : " yarn ship-linux && yarn ship-win && yarn ship-mac" ,
164
164
"icon" : " public/icons/icon_512x512.png"
165
165
},
166
166
"linux" : {
167
- "target" : " AppImage" ,
167
+ "target" : [
168
+ " snap" ,
169
+ " AppImage"
170
+ ],
168
171
"icon" : " public/icons/icon_512x512.png"
169
172
},
170
173
"extraMetadata" : {
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # SPDX-FileCopyrightText: Meta Platforms, Inc. and its affiliates
4
+ # SPDX-FileCopyrightText: TNG Technology Consulting GmbH<https://www.tngtech.com>
5
+ #
6
+ # SPDX-License-Identifier: Apache-2.0
7
+
8
+ set -e
9
+
10
+ electron-builder --linux --x64 --publish never
11
+ mkdir -p release/linux
12
+ mv ' release/opossum-ui_0.1.0_amd64.snap' ' release/linux/OpossumUI-for-linux.snap'
13
+ mv ' release/OpossumUI-0.1.0.AppImage' ' release/linux/OpossumUI-for-linux.AppImage'
You can’t perform that action at this time.
0 commit comments