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,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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue