liuyuqi-dellpc 2 years ago
parent
commit
5702e3fe42
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/build.yml

+ 2 - 0
.github/workflows/build.yml

@@ -52,11 +52,13 @@ jobs:
       - name: Build exe
         if: ${{ runner.os == 'Windows'}}
         run: |
+          flutter config --enable-windows-desktop
           flutter build windows
       
       - name: Build linux
         if: ${{ runner.os == 'Linux'}}
         run: |
+          flutter config --enable-linux-desktop
           flutter build linux
 
       # output some file: