Skip to content

Commit afacf0b

Browse files
authored
Merge pull request #1 from Drakirus/zephylac-master
Push before merging your PR
2 parents aa8ed97 + 5096eaa commit afacf0b

File tree

3 files changed

+310
-315
lines changed

3 files changed

+310
-315
lines changed

README.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ cd flutter_project/demo/
5858
flutter build bundle
5959
cd ../..
6060

61-
# Run script that will download share library, unzip it and move it.
62-
# Downloaded version is the one corresponding to your flutter version
63-
go run embedderDownloader.go
61+
# Download the share library, the one corresponding to your flutter version.
62+
go run engineDownloader.go
6463

6564
# REQUIRED before every `go build`. The CGO compiler need to know where to look for the share library
6665
export CGO_LDFLAGS="-L${PWD}"
@@ -71,7 +70,7 @@ go get -u -v github.com/Drakirus/go-flutter-desktop-embedder
7170

7271
# Make sure the path in "main.go" to the `icudtl.dat` is correct.
7372
# Build the example project
74-
go run main.go
73+
go build main.go
7574

7675
# `go run main.go` is not working ATM.
7776
```
@@ -99,9 +98,8 @@ cd flutter_project/demo/
9998
flutter build bundle
10099
cd ../..
101100

102-
# Run script that will download share library, unzip it and move it.
103-
# Downloaded version is the one corresponding to your flutter version
104-
go run embedderDownloader.go
101+
# Download the share library, the one corresponding to your flutter version.
102+
go run engineDownloader.go
105103

106104
# REQUIRED before every `go build`. The CGO compiler need to know where to look for the share library
107105
set CGO_LDFLAGS=-L%cd%
@@ -112,7 +110,7 @@ go get -u -v github.com/Drakirus/go-flutter-desktop-embedder
112110

113111
# Make sure the path in "main.go" to the `icudtl.dat` is correct.
114112
# Build the example project
115-
go run main.go
113+
go build main.go
116114

117115
# `go run main.go` is not working ATM.
118116
```
@@ -140,9 +138,8 @@ cd flutter_project/demo/
140138
flutter build bundle
141139
cd ../..
142140

143-
# Run script that will download share library, unzip it and move it.
144-
# Downloaded version is the one corresponding to your flutter version
145-
go run embedderDownloader.go
141+
# Download the share library, the one corresponding to your flutter version.
142+
go run engineDownloader.go
146143

147144
# REQUIRED before every `go build`. The CGO compiler need to know where to look for the share library
148145
export CGO_LDFLAGS="-F${PWD} -Wl,-rpath,@executable_path"
@@ -153,7 +150,7 @@ go get -u -v github.com/Drakirus/go-flutter-desktop-embedder
153150

154151
# Make sure the path in "main.go" to the `icudtl.dat` is correct.
155152
# Build the example project
156-
go run main.go
153+
go build main.go
157154

158155
# `go run main.go` is not working ATM.
159156
```

example/simpleDemo/embedderDownloader.go

-303
This file was deleted.

0 commit comments

Comments
 (0)