mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2026-03-15 14:03:17 +08:00
update windows update guide
This commit is contained in:
1
Makefile
1
Makefile
@@ -26,7 +26,6 @@ bundle:
|
||||
|
||||
prebuild: bundle
|
||||
$(RRM) ./release
|
||||
$(RRM) ./release/assets
|
||||
$(MKDIR) ./release
|
||||
$(MKDIR) ./release/assets
|
||||
$(COPY) LICENSE.md ./release/LICENSE.md
|
||||
|
||||
29
README.md
29
README.md
@@ -16,3 +16,32 @@ go build -o AynaLivePlayer.exe -ldflags -H=windowsgui app/gui/main.go
|
||||
```
|
||||
fyne package --src path_to_gui --exe AynaLivePlayer.exe --appVersion 0.8.4 --icon path_to_icon
|
||||
```
|
||||
|
||||
## Windows build guide
|
||||
|
||||
1. install golang [link](https://go.dev/doc/install)
|
||||
2. install chocolatey [link](https://chocolatey.org/install)
|
||||
3. install required packages
|
||||
```
|
||||
choco install git
|
||||
choco install mingw
|
||||
```
|
||||
4. install fyne
|
||||
```
|
||||
go install fyne.io/fyne/v2/cmd/fyne@latest
|
||||
```
|
||||
5. clone this repo
|
||||
```bash
|
||||
git clone --recurse-submodules git@github.com:AynaLivePlayer/AynaLivePlayer.git
|
||||
```
|
||||
if you are using https links
|
||||
```
|
||||
git clone https://github.com/AynaLivePlayer/AynaLivePlayer.git
|
||||
git submodule set-url pkg/miaosic https://github.com/AynaLivePlayer/miaosic.git
|
||||
git submodule set-url pkg/liveroom-sdk https://github.com/AynaLivePlayer/liveroom-sdk.git
|
||||
git submodule update
|
||||
```
|
||||
6. now you can build
|
||||
```
|
||||
go build -o AynaLivePlayer -ldflags -H=windowsgui app/main.go
|
||||
```
|
||||
Reference in New Issue
Block a user