Replace go.rice with native go embedding (#331)
This commit is contained in:
11
README.md
11
README.md
@@ -211,18 +211,9 @@ Prepare the assets directory
|
||||
./prepare_assets.sh
|
||||
```
|
||||
|
||||
Then you can embed resources by generating Go source code
|
||||
|
||||
```sh
|
||||
rice embed-go
|
||||
go build -o wireguard-ui
|
||||
```
|
||||
|
||||
Or, append resources to executable as zip file
|
||||
|
||||
Then build your executable
|
||||
```sh
|
||||
go build -o wireguard-ui
|
||||
rice append --exec wireguard-ui
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user