@@ -58,9 +58,8 @@ cd flutter_project/demo/
58
58
flutter build bundle
59
59
cd ../..
60
60
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
64
63
65
64
# REQUIRED before every `go build`. The CGO compiler need to know where to look for the share library
66
65
export CGO_LDFLAGS=" -L${PWD} "
@@ -71,7 +70,7 @@ go get -u -v github.com/Drakirus/go-flutter-desktop-embedder
71
70
72
71
# Make sure the path in "main.go" to the `icudtl.dat` is correct.
73
72
# Build the example project
74
- go run main.go
73
+ go build main.go
75
74
76
75
# `go run main.go` is not working ATM.
77
76
```
@@ -99,9 +98,8 @@ cd flutter_project/demo/
99
98
flutter build bundle
100
99
cd ../..
101
100
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
105
103
106
104
# REQUIRED before every `go build`. The CGO compiler need to know where to look for the share library
107
105
set CGO_LDFLAGS=-L%cd%
@@ -112,7 +110,7 @@ go get -u -v github.com/Drakirus/go-flutter-desktop-embedder
112
110
113
111
# Make sure the path in "main.go" to the `icudtl.dat` is correct.
114
112
# Build the example project
115
- go run main.go
113
+ go build main.go
116
114
117
115
# `go run main.go` is not working ATM.
118
116
```
@@ -140,9 +138,8 @@ cd flutter_project/demo/
140
138
flutter build bundle
141
139
cd ../..
142
140
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
146
143
147
144
# REQUIRED before every `go build`. The CGO compiler need to know where to look for the share library
148
145
export CGO_LDFLAGS=" -F${PWD} -Wl,-rpath,@executable_path"
@@ -153,7 +150,7 @@ go get -u -v github.com/Drakirus/go-flutter-desktop-embedder
153
150
154
151
# Make sure the path in "main.go" to the `icudtl.dat` is correct.
155
152
# Build the example project
156
- go run main.go
153
+ go build main.go
157
154
158
155
# `go run main.go` is not working ATM.
159
156
```
0 commit comments