Commit ac5fbef3 authored by 林生雨's avatar 林生雨

commit

parent a554919b
...@@ -141,7 +141,12 @@ function ios(){ ...@@ -141,7 +141,12 @@ function ios(){
cd ${projectDir} cd ${projectDir}
flutter build ios --release --no-codesign flutter build ios --release --no-codesign
cp -r /Users/apple/lsy/gmalpha_flutter/ios/Flutter/App.framework /Users/apple/lsy/aar_update/ios${message}/ cp -r /Users/apple/lsy/gmalpha_flutter/ios/Flutter/App.framework /Users/apple/lsy/aar_update/ios${message}/
rm -rf /Users/apple/lsy/GMAlpha/GMAlpha/Classes/APP/flutter_project/App.framework
rm -rf /Users/apple/lsy/GMAlpha/GMAlpha/Classes/APP/flutter_project/Flutter.framework
rm -rf /Users/apple/lsy/GMAlpha/GMAlpha/Classes/APP/flutter_project/gengmei_flutter_plugin.framework
cp -r /Users/apple/lsy/gmalpha_flutter/ios/Flutter/App.framework /Users/apple/lsy/GMAlpha/GMAlpha/Classes/APP/flutter_project cp -r /Users/apple/lsy/gmalpha_flutter/ios/Flutter/App.framework /Users/apple/lsy/GMAlpha/GMAlpha/Classes/APP/flutter_project
cp -r /Users/apple/lsy/gmalpha_flutter/ios/Flutter/Flutter.framework /Users/apple/lsy/GMAlpha/GMAlpha/Classes/APP/flutter_project
cp -r /Users/apple/lsy/gmalpha_flutter/build/ios/Release-iphoneos/gengmei_flutter_plugin/gengmei_flutter_plugin.framework /Users/apple/lsy/GMAlpha/GMAlpha/Classes/APP/flutter_project
} }
function ios_publish(){ function ios_publish(){
......
/Users/apple/Downloads/flutter/.pub-cache/git/flutter_plugin-c26d6a260da11c0bd3ce85ea80e81bc5a4ee837b /Users/apple/Downloads/flutter/.pub-cache/git/flutter_plugin-25c02c805d4c3bcb2f90d63b21775a4aceb146aa
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
...@@ -71,7 +71,7 @@ class AlbumModel extends BaseModel { ...@@ -71,7 +71,7 @@ class AlbumModel extends BaseModel {
newPath != null) { newPath != null) {
itemList[i].path = newPath; itemList[i].path = newPath;
} }
var realPath=map[k][i]["realPath"] as String; var realPath = map[k][i]["realPath"] as String;
if ((itemList[i].realPath == null || itemList[i].realPath.isEmpty) && if ((itemList[i].realPath == null || itemList[i].realPath.isEmpty) &&
realPath != null) { realPath != null) {
itemList[i].realPath = realPath; itemList[i].realPath = realPath;
...@@ -113,10 +113,10 @@ class AlbumModel extends BaseModel { ...@@ -113,10 +113,10 @@ class AlbumModel extends BaseModel {
print("VALUE!!! $key"); print("VALUE!!! $key");
if (eachValue != null && !eachValue.isEmpty) { if (eachValue != null && !eachValue.isEmpty) {
if (key == MainDir) { if (key == MainDir) {
albumLive.notifyView(eachValue);
titleData.notifyView(MainDirExplain); titleData.notifyView(MainDirExplain);
_dirList.add(DirBean( _dirList.add(DirBean(
MainDirExplain, eachValue.length, File(eachValue[0].path))); MainDirExplain, eachValue.length, File(eachValue[0].path)));
albumLive.notifyView(eachValue);
} else { } else {
_dirList _dirList
.add(DirBean(key, eachValue.length, File(eachValue[0].path))); .add(DirBean(key, eachValue.length, File(eachValue[0].path)));
...@@ -140,6 +140,7 @@ class AlbumModel extends BaseModel { ...@@ -140,6 +140,7 @@ class AlbumModel extends BaseModel {
albumLive.dispost(); albumLive.dispost();
dirLive.dispost(); dirLive.dispost();
titleData.dispost(); titleData.dispost();
GengmeiFlutterPlugin.quitPage();
} }
select(int index) {} select(int index) {}
......
...@@ -108,6 +108,7 @@ class AlbumState extends State<AlbumPage> { ...@@ -108,6 +108,7 @@ class AlbumState extends State<AlbumPage> {
void dispose() { void dispose() {
super.dispose(); super.dispose();
_model.dispose(); _model.dispose();
} }
mainView() { mainView() {
......
...@@ -218,8 +218,8 @@ packages: ...@@ -218,8 +218,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." path: "."
ref: c26d6a260da11c0bd3ce85ea80e81bc5a4ee837b ref: "25c02c805d4c3bcb2f90d63b21775a4aceb146aa"
resolved-ref: c26d6a260da11c0bd3ce85ea80e81bc5a4ee837b resolved-ref: "25c02c805d4c3bcb2f90d63b21775a4aceb146aa"
url: "git@git.wanmeizhensuo.com:linshengyu/flutter_plugin.git" url: "git@git.wanmeizhensuo.com:linshengyu/flutter_plugin.git"
source: git source: git
version: "0.0.735" version: "0.0.735"
......
...@@ -34,7 +34,7 @@ dependencies: ...@@ -34,7 +34,7 @@ dependencies:
gengmei_flutter_plugin: gengmei_flutter_plugin:
git: git:
url: 'git@git.wanmeizhensuo.com:linshengyu/flutter_plugin.git' url: 'git@git.wanmeizhensuo.com:linshengyu/flutter_plugin.git'
ref: "c26d6a260da11c0bd3ce85ea80e81bc5a4ee837b" ref: "25c02c805d4c3bcb2f90d63b21775a4aceb146aa"
protobuf: ^0.14.4 protobuf: ^0.14.4
grpc: ^2.1.2 grpc: ^2.1.2
flutter_svg: ^0.14.1 flutter_svg: ^0.14.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment