fix: fix mac / linux can only use one icon file

This commit is contained in:
shenjack 2023-01-03 16:34:08 +08:00
parent 9986c02675
commit f68e897f45

View File

@ -81,7 +81,7 @@ jobs:
$arg += @("--file-version=$env:Build_version") $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")
# 编译器配置 # 编译器配置
$arg += @("--msvc=latest") $arg += @("--msvc=latest")
$arg += @("--clang") $arg += @("--clang")
@ -113,7 +113,7 @@ jobs:
$arg += @("--product-version=$env:DR_version") $arg += @("--product-version=$env:DR_version")
$arg += @("--file-version=$env:Build_version") $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")
# 编译器配置 # 编译器配置
$arg += @("--clang") $arg += @("--clang")