mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-06 10:22:50 +08:00
uw
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Build and Bundle
|
||||
name: Build
|
||||
|
||||
on: [push]
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
goos: windows
|
||||
goarch: amd64
|
||||
executable_ext: ".exe"
|
||||
install_deps: choco install mpv
|
||||
install_deps: ""
|
||||
- os: macos-latest
|
||||
goos: darwin
|
||||
goarch: amd64
|
||||
@@ -68,8 +68,7 @@ jobs:
|
||||
|
||||
- name: Bundle assets
|
||||
run: |
|
||||
echo "::set-env name=GOPATH::$(go env GOPATH)"
|
||||
echo "::add-path::$(go env GOPATH)/bin"
|
||||
export PATH=${PATH}:`go env GOPATH`/bin
|
||||
fyne bundle --name resImageIcon --package resource ./assets/icon.png > ./resource/bundle.go
|
||||
fyne bundle --append --name resFontMSYaHei --package resource ./assets/msyh0.ttf >> ./resource/bundle.go
|
||||
fyne bundle --append --name resFontMSYaHeiBold --package resource ./assets/msyhbd0.ttf >> ./resource/bundle.go
|
||||
|
||||
Reference in New Issue
Block a user