File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ ## 更新日志  
2+ 
13## 文件下载  
24
35|  平台    |  文件名                                                                                                                                    | 
Original file line number Diff line number Diff line change 3535                  python -m pip install --upgrade pip 
3636                  pip install -r requirements.txt pyinstaller 
3737
38+ name : Install UPX (Windows) 
39+               if : runner.os == 'Windows' 
40+               shell : pwsh 
41+               run : | 
42+                   choco install upx -y 
43+                   echo "UPX_PATH=C:\ProgramData\chocolatey\bin" >> $env:GITHUB_ENV 
44+ 
45+ #  - name: Install UPX (Linux) (not used)
46+             #    if: runner.os == 'Linux'
47+             #    run: |
48+             #        sudo apt-get update
49+             #        sudo apt-get install -y upx
50+ 
51+             #  - name: Install UPX (macOS) (not used)
52+             #    if: runner.os == 'macOS'
53+             #    run: |
54+             #        brew install upx
55+ 
3856            - name : Build executable with PyInstaller 
3957              run : | 
4058                  pyinstaller --name TingJu --onedir --icon "${{ github.workspace }}/static/img/icon.ico" --distpath ./dist --workpath ./build --specpath ./spec app.py 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments