mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-22 09:10:44 +01:00
chore: Fix linux dependencies
This commit is contained in:
parent
f58de43223
commit
01aaa19abf
@ -172,7 +172,7 @@ snap:edge:
|
||||
stage: release
|
||||
image: "snapcore/snapcraft"
|
||||
before_script:
|
||||
- apt update && apt install git curl unzip clang cmake build-essential ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev -y
|
||||
- apt update && apt install git curl unzip clang cmake build-essential ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libjsoncpp1 libsecret-1 librhash0 -y
|
||||
- git clone https://github.com/flutter/flutter.git
|
||||
- export PATH="$PATH:`pwd`/flutter/bin"
|
||||
variables:
|
||||
@ -186,7 +186,6 @@ snap:edge:
|
||||
paths:
|
||||
- "./*.snap"
|
||||
when: on_success
|
||||
allow_failure: true
|
||||
|
||||
#snap:publish:
|
||||
# stage: release
|
||||
|
@ -22,13 +22,13 @@ abstract class SentryController {
|
||||
return await storage.getItemBool(SettingKeys.sentry);
|
||||
}
|
||||
|
||||
static final sentry = SentryClient(dsn: AppConfig.sentryDns);
|
||||
static final sentry = SentryClient(SentryOptions(dsn: AppConfig.sentryDns));
|
||||
|
||||
static void captureException(error, stackTrace) async {
|
||||
Logs().e('Capture exception', error, stackTrace);
|
||||
if (!kDebugMode && await getSentryStatus()) {
|
||||
await sentry.captureException(
|
||||
exception: error,
|
||||
error,
|
||||
stackTrace: stackTrace,
|
||||
);
|
||||
}
|
||||
|
17
pubspec.lock
17
pubspec.lock
@ -379,19 +379,19 @@ packages:
|
||||
description: flutter
|
||||
source: sdk
|
||||
version: "0.0.0"
|
||||
flutter_math:
|
||||
flutter_math_fork:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_math
|
||||
name: flutter_math_fork
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.3.0-nullsafety.1"
|
||||
version: "0.3.0+2"
|
||||
flutter_matrix_html:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: HEAD
|
||||
resolved-ref: "2801b47a5ca640d114b134024afe657166cccfe8"
|
||||
resolved-ref: "71735d848c9720d986c84078a013253321399058"
|
||||
url: "https://github.com/ChristianPauly/flutter_matrix_html.git"
|
||||
source: git
|
||||
version: "0.2.0"
|
||||
@ -912,7 +912,7 @@ packages:
|
||||
name: sentry
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.0.1"
|
||||
version: "5.0.0"
|
||||
share:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@ -1193,13 +1193,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.0"
|
||||
usage:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: usage
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.4.2"
|
||||
uuid:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -67,7 +67,7 @@ dependencies:
|
||||
url: https://gitlab.com/famedly/libraries/native_imaging.git
|
||||
ref: master
|
||||
flutter_blurhash: ^0.6.0
|
||||
sentry: ">=3.0.0 <4.0.0"
|
||||
sentry: ^5.0.0
|
||||
scroll_to_index: ^2.0.0
|
||||
swipe_to_action: ^0.1.0
|
||||
flutter_svg: ^0.21.0+1
|
||||
|
Loading…
x
Reference in New Issue
Block a user