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