File tree 4 files changed +25
-5
lines changed
4 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 22
22
strategy :
23
23
fail-fast : false
24
24
matrix :
25
- os : [ubuntu-22.04 , macos-13, windows-latest]
25
+ os : [ubuntu-latest , macos-13, windows-latest]
26
26
include :
27
- - os : ubuntu-22.04
27
+ - os : ubuntu-latest
28
28
# https://github.com/microsoft/playwright/issues/11932
29
29
E2E : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:e2e:ci
30
30
- os : macos-13
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.mjs" ,
134
- "ship-linux" : " yarn install-deps: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 install-deps:linux && yarn build && tools/build_linux_release.sh " ,
135
135
"ship-win" : " yarn install-deps:win32 && 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 install-deps:darwin && 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" ,
169
169
"icon" : " public/icons/icon_512x512.png"
170
170
},
171
171
"linux" : {
172
- "target" : " AppImage" ,
173
- "icon" : " public/icons/icon_512x512.png"
172
+ "target" : [
173
+ " snap" ,
174
+ " AppImage"
175
+ ],
176
+ "icon" : " public/icons/icon_512x512.png" ,
177
+ "category" : " Development"
174
178
},
175
179
"extraMetadata" : {
176
180
"main" : " build/ElectronBackend/app.js"
Original file line number Diff line number Diff line change @@ -79,6 +79,9 @@ export const test = base.extend<{
79
79
80
80
const [ executablePath , main ] = getLaunchProps ( ) ;
81
81
const args = [ '--reset' ] ;
82
+ if ( os . platform ( ) === 'linux' ) {
83
+ args . push ( '--no-sandbox' ) ;
84
+ }
82
85
83
86
const app = await electron . launch ( {
84
87
args : [ main , ...( ! filePath ? args : args . concat ( [ filePath ] ) ) ] ,
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