Merge branch 'main' of https://github.com/krille-chan/fluffychat
This commit is contained in:
commit
e12723fdaa
98 changed files with 1450 additions and 1014 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
flutter pub add fcm_shared_isolate:0.2.0
|
||||
flutter pub add fcm_shared_isolate
|
||||
flutter pub get
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh -ve
|
||||
|
||||
# Compile Vodozemac for web
|
||||
version=$(yq ".dependencies.flutter_vodozemac" < pubspec.yaml | tr -d '"')
|
||||
version=$(expr "$version" : '\^*\(.*\)')
|
||||
version=$(yq ".dependencies.flutter_vodozemac" < pubspec.yaml)
|
||||
version=$(printf "%s" "$version" | tr -d '"^')
|
||||
git clone https://github.com/famedly/dart-vodozemac.git -b ${version} .vodozemac
|
||||
cd .vodozemac
|
||||
cargo install flutter_rust_bridge_codegen
|
||||
|
|
@ -15,8 +15,8 @@ flutter pub get
|
|||
dart compile js ./web/native_executor.dart -o ./web/native_executor.js -m
|
||||
|
||||
# Download native_imaging for web:
|
||||
version=$(yq ".dependencies.native_imaging" < pubspec.yaml | tr -d '"')
|
||||
version=$(expr "$version" : '\^*\(.*\)')
|
||||
version=$(yq ".dependencies.native_imaging" < pubspec.yaml)
|
||||
version=$(printf "%s" "$version" | tr -d '"^')
|
||||
curl -L "https://github.com/famedly/dart_native_imaging/releases/download/v${version}/native_imaging.zip" > native_imaging.zip
|
||||
unzip native_imaging.zip
|
||||
mv js/* web/
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh -ve
|
||||
flutter pub add fcm_shared_isolate:0.2.0
|
||||
flutter pub add fcm_shared_isolate
|
||||
sed -i '' 's,//<GOOGLE_SERVICES>,,g' lib/utils/background_push.dart
|
||||
flutter clean
|
||||
flutter pub get
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue