[no ci] Change icon, temporary fix for dylib loading (#328)

* Move build directory

* Move build folder

* Move the build folder

* Update Mac OS icon

* Use snapshot icon

* Use icon file

* Temporary fix for Mac OS dylib loading

* Update require.lua

* Update require.lua

* Update require.lua

* Update require.lua

Remember to squash this.

* “简化”require模块对于OS X环境的处理方法

Co-authored-by: MrZ626 <1046101471@qq.com>
This commit is contained in:
Trebor Huang
2021-09-24 21:00:03 +08:00
committed by GitHub
parent 0b1357c2ee
commit 7b141a5eaa
4 changed files with 20 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ def updateVersion(args): #更新版本号
def updateMacOS(args): #更新macOS打包信息
import datetime
thisYear = str(datetime.datetime.today().year)
with open('./build/macOS/info.plist.template', 'r', encoding='utf-8') as file:
with open('./.github/build/macOS/info.plist.template', 'r', encoding='utf-8') as file:
data = file.read()
data = data\
.replace('@versionName', args.Name)\
@@ -35,7 +35,7 @@ def updateMacOS(args): #更新macOS打包信息
def updateWindows(args): #更新Windows打包信息
Version = (args.Name).replace('V', '')
FileVersion = (f"{Version.replace('.', ',')},0")
with open('./build/Windows/Techmino.rc.template', 'r', encoding='utf8') as file:
with open('./.github/build/Windows/Techmino.rc.template', 'r', encoding='utf8') as file:
data = file.read()
data = data\
.replace('@FileVersion', FileVersion)\