bump versions

0.7.0.1!
This commit is contained in:
shenjack 2023-02-07 15:30:08 +08:00
parent 43a4b13895
commit 650df520d4
8 changed files with 30 additions and 26 deletions

View File

@ -110,8 +110,6 @@ jobs:
$arg += @("--assume-yes-for-download") $arg += @("--assume-yes-for-download")
python -m nuitka $arg DR.py python -m nuitka $arg DR.py
Rename-Item ./build/DR.dist Difficult-Rocket
- name: Build on MacOS / Linux - name: Build on MacOS / Linux
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }} if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }}
shell: pwsh shell: pwsh
@ -131,7 +129,7 @@ jobs:
$arg += @("--clang") $arg += @("--clang")
$arg += @("--lto=no") $arg += @("--lto=no")
# 包配置 # 包配置
$arg += @("--nofollow-import-to=objprint,pillow,cffi,PIL,pyglet") $arg += @("--nofollow-import-to=objprint,pillow,PIL,pyglet")
# 数据配置 # 数据配置
$arg += @("--include-data-dir=./libs/pyglet=./pyglet") $arg += @("--include-data-dir=./libs/pyglet=./pyglet")
$arg += @("--include-data-dir=./libs/fonts=./libs/fonts") $arg += @("--include-data-dir=./libs/fonts=./libs/fonts")
@ -142,11 +140,12 @@ jobs:
$arg += @("--assume-yes-for-download") $arg += @("--assume-yes-for-download")
python -m nuitka $arg DR.py python -m nuitka $arg DR.py
Rename-Item ./build/DR.dist Difficult-Rocket
- name: after build - name: after build
shell: pwsh shell: pwsh
run: python ./.github/workflows/after_compile.py run: |
Rename-Item ./build/DR.dist Difficult-Rocket
Copy-Item .\libs\pyglet\ .\build\nuitka-mac\DR.dist -Recurse
python ./.github/workflows/after_compile.py
# Uploads artifact # Uploads artifact
- name: Upload Artifact - name: Upload Artifact

View File

@ -17,9 +17,9 @@
## 版本 ## 版本
[![Generic badge](https://img.shields.io/badge/Release-0.6.5.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases) [![Generic badge](https://img.shields.io/badge/Release-0.7.0.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.6.5.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases) [![Generic badge](https://img.shields.io/badge/Pre_Release-0.7.0.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
[![Generic badge](https://img.shields.io/badge/Devloping-0.7.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases) [![Generic badge](https://img.shields.io/badge/Devloping-0.7.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
## English README please look [here](./docs/README-en.md) ## English README please look [here](./docs/README-en.md)

View File

@ -8,8 +8,8 @@ fonts_folder = "libs/fonts"
[window] [window]
style = "None" style = "None"
width = 1439 width = 2123
height = 969 height = 1266
visible = true visible = true
gui_scale = 1 gui_scale = 1
caption = "Difficult Rocket v{DR_version}|DR_rs v{DR_Rust_get_version}" caption = "Difficult Rocket v{DR_version}|DR_rs v{DR_Rust_get_version}"

View File

@ -17,9 +17,9 @@
## Version ## Version
[![Generic badge](https://img.shields.io/badge/Release-0.6.5.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases) [![Generic badge](https://img.shields.io/badge/Release-0.7.0.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.6.5.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases) [![Generic badge](https://img.shields.io/badge/Pre_Release-0.7.0.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
[![Generic badge](https://img.shields.io/badge/Devloping-0.7.0.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases) [![Generic badge](https://img.shields.io/badge/Devloping-0.7.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
## 中文README请移步 [这里](../README.md) ## 中文README请移步 [这里](../README.md)

View File

@ -10,14 +10,24 @@
## Readme First! ## Readme First!
##### most badge can be clicked and jump ##### most badge can be clicked and jump
[![Generic badge](https://img.shields.io/badge/SemVer-2.0.0-blue.svg)](https://Semver.org/) [![Generic badge](https://img.shields.io/badge/SemVer-2.0.0-blue.svg)](https://Semver.org/)
![Generic badge](https://img.shields.io/badge/Version-0.7.0.0-yellow.svg) ![Generic badge](https://img.shields.io/badge/Version-0.7.0.1-yellow.svg)
- [![Readme-github](https://img.shields.io/badge/Readme-Github-blue.svg?style=flat-square&logo=Github)](https://github.com/shenjackyuanjie/Difficult-Rocket) - [![Readme-github](https://img.shields.io/badge/Readme-Github-blue.svg?style=flat-square&logo=Github)](https://github.com/shenjackyuanjie/Difficult-Rocket)
- [![Readme-gitee](https://img.shields.io/badge/Readme-Gitee-blue.svg?style=flat-square&logo=Gitee)](https://gitee.com/shenjackyuanjie/Difficult-Rocket) - [![Readme-gitee](https://img.shields.io/badge/Readme-Gitee-blue.svg?style=flat-square&logo=Gitee)](https://gitee.com/shenjackyuanjie/Difficult-Rocket)
- [![Readme-gitee](https://img.shields.io/badge/Readme-中文(点我!)-blue.svg?style=flat-square)](../../README.md) - [![Readme-gitee](https://img.shields.io/badge/Readme-中文(点我!)-blue.svg?style=flat-square)](../../README.md)
- Using [SemVer 2.0.0](https://semver.org/) to manage version - Using [SemVer 2.0.0](https://semver.org/) to manage version
## 202301 V 0.7.0 ## 20230207 V 0.7.0.1
### 刷个版本号 (确信)
### 优化
- 实装 `Translate`
- 现在多语言翻译更方便
- 优化了 action 的构建方式 (应该能开箱即用了)
## 202301 V 0.7.0.0
### 啊哈! 现在真就是 0.7 了 ### 啊哈! 现在真就是 0.7 了

View File

@ -30,8 +30,6 @@ $arg += @("--macos-app-icon=textures/icon.png")
# 编译器配置 # 编译器配置
$arg += @("--clang") $arg += @("--clang")
$arg += @("--lto=no") $arg += @("--lto=no")
# 包配置
$arg += @("--nofollow-import-to=objprint,pillow,PIL,pyglet")
# 数据配置 # 数据配置
$arg += @("--include-data-dir=./libs/pyglet=./pyglet") $arg += @("--include-data-dir=./libs/pyglet=./pyglet")
$arg += @("--include-data-dir=./libs/fonts=./libs/fonts") $arg += @("--include-data-dir=./libs/fonts=./libs/fonts")
@ -48,6 +46,8 @@ $out = $end_time.TotalMilliseconds - $start_time.TotalMilliseconds
Write-Output $end_time.TotalSeconds $start_time.TotalSeconds $out s Write-Output $end_time.TotalSeconds $start_time.TotalSeconds $out s
Write-Output $start_time $end_time Write-Output $start_time $end_time
Write-Output "--clang --lto=no and ($args)" Write-Output "--clang --lto=no and ($args)"
Copy-Item .\libs\pyglet\ .\build\nuitka-mac\DR.dist -Recurse
# --include-data-dir=./libs/pyglet=./pyglet # --include-data-dir=./libs/pyglet=./pyglet
# --run # --run
# --disable-ccache # --disable-ccache

View File

@ -28,15 +28,10 @@ $arg += @("--file-version=$env:Build_version")
$arg += @("--file-description=Difficult-Rocket!") $arg += @("--file-description=Difficult-Rocket!")
$arg += @("--windows-icon-from-ico=textures/icon.png") $arg += @("--windows-icon-from-ico=textures/icon.png")
$arg += @("--macos-app-icon=textures/icon.png") $arg += @("--macos-app-icon=textures/icon.png")
#--linux-icon
# 编译器配置 # 编译器配置
# $arg += @("--msvc=latest") $arg += @("--msvc=latest")
# $atg += @("--mingw64")
$arg += @("--clang") $arg += @("--clang")
$arg += @("--lto=no") $arg += @("--lto=no")
# 包配置
#$arg += @("--nofollow-import-to=objprint,pillow,PIL,pyglet")
#$arg += @("--follow-import-to=libs.pyglet")
# 数据配置 # 数据配置
$arg += @("--include-data-dir=./libs/pyglet=./libs/pyglet") $arg += @("--include-data-dir=./libs/pyglet=./libs/pyglet")
$arg += @("--include-data-dir=./libs/fonts=./libs/fonts") $arg += @("--include-data-dir=./libs/fonts=./libs/fonts")
@ -53,7 +48,7 @@ $out = $end_time.TotalMilliseconds - $start_time.TotalMilliseconds
Write-Output $end_time.TotalSeconds $start_time.TotalSeconds $out s Write-Output $end_time.TotalSeconds $start_time.TotalSeconds $out s
Write-Output $start_time $end_time Write-Output $start_time $end_time
Write-Output "--clang --lto=no and $args" Write-Output "--clang --lto=no and $args"
cp ./libs/pyglet ./build/nuitka-win/DR.dist Copy-Item .\libs\pyglet\ .\build\nuitka-win\DR.dist -Recurse
# --include-data-dir=./libs/pyglet=./pyglet # --include-data-dir=./libs/pyglet=./pyglet
# --run # --run
# --disable-ccache # --disable-ccache

View File

@ -6,7 +6,7 @@ build-backend = "pdm.pep517.api"
[project] [project]
name = "difficult-rocket" name = "difficult-rocket"
version = "0.7.0.0" version = "0.7.0.1"
description = "A rocket game" description = "A rocket game"
authors = [ authors = [
{name = "shenjackyuanjie", email = "3695888@qq.com"} {name = "shenjackyuanjie", email = "3695888@qq.com"}