Skip to content

Commit 5796d1a

Browse files
update ci (#829)
* Standardized rc templates * Update copyright
1 parent 06d7a1d commit 5796d1a

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.github/build/windows/dev/template.rc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ FILETYPE 0x1
88
{
99
BLOCK "040904B0"
1010
{
11-
VALUE "FileDescription", "Techmino Development"
1211
VALUE "CompanyName", "26F Studio"
13-
VALUE "LegalCopyright", "Copyright @ 26F Studio"
12+
VALUE "FileDescription", "Techmino Development"
13+
VALUE "FileVersion", "@Version"
14+
VALUE "InternalName", "Techmino"
15+
VALUE "LegalCopyright", "Copyright © 2019-2023 26F-Studio. Some Rights Reserved."
16+
VALUE "OriginalFilename", "Techmino.exe"
1417
VALUE "ProductName", "Techmino"
1518
VALUE "ProductVersion", "@Version"
1619
}

.github/build/windows/release/template.rc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ FILETYPE 0x1
88
{
99
BLOCK "040904B0"
1010
{
11-
VALUE "FileDescription", "Techmino"
1211
VALUE "CompanyName", "26F Studio"
13-
VALUE "LegalCopyright", "Copyright @ 26F Studio"
12+
VALUE "FileDescription", "Techmino"
13+
VALUE "FileVersion", "@Version"
14+
VALUE "InternalName", "Techmino"
15+
VALUE "LegalCopyright", "Copyright © 2019-2023 26F-Studio. Some Rights Reserved."
16+
VALUE "OriginalFilename", "Techmino.exe"
1417
VALUE "ProductName", "Techmino"
1518
VALUE "ProductVersion", "@Version"
1619
}

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ jobs:
176176
import os
177177
import re
178178
with open(os.getenv('GITHUB_OUTPUT'), 'a') as f:
179-
if "${{ env.BUILD_TYPE }}" == "dev":
179+
if "${{ env.BUILD_TYPE }}" == "dev":
180180
f.write('bundle-id=org.f26_studio.' + re.sub(r'[^A-Za-z0-9]+', '_', '${{ needs.get-info.outputs.app-name }}') + '.snapshot\n')
181181
f.write('product-name=' + re.sub(r'[^A-Za-z0-9]+', '-', '${{ needs.get-info.outputs.app-name }}') + '_Snapshot\n')
182182
else:
@@ -281,7 +281,7 @@ jobs:
281281
with:
282282
app-name: ${{ needs.get-info.outputs.app-name }}
283283
bundle-id: ${{ steps.process-app-name.outputs.bundle-id }}
284-
copyright: "Copyright © 2019-2022 26F-Studio. Some Rights Reserved."
284+
copyright: "Copyright © 2019-2023 26F-Studio. Some Rights Reserved."
285285
icon-path: ./.github/build/iOS/${{ env.BUILD_TYPE }}/icon
286286
love-patch: ./.github/build/iOS/love.patch
287287
love-package: ${{ env.CORE_LOVE_PACKAGE_PATH }}
@@ -481,7 +481,7 @@ jobs:
481481
with:
482482
app-name: ${{ needs.get-info.outputs.app-name }}
483483
bundle-id: ${{ steps.process-app-name.outputs.bundle-id }}
484-
copyright: "Copyright © 2019-2022 26F-Studio. Some Rights Reserved."
484+
copyright: "Copyright © 2019-2023 26F-Studio. Some Rights Reserved."
485485
icon-path: ./.github/build/macOS/${{ env.BUILD_TYPE }}/icon.icns
486486
love-package: ${{ env.CORE_LOVE_PACKAGE_PATH }}
487487
libs-path: ./ColdClear/universal/
@@ -581,7 +581,7 @@ jobs:
581581
with:
582582
app-name: ${{ needs.get-info.outputs.app-name }}
583583
bundle-id: ${{ steps.process-app-name.outputs.bundle-id }}
584-
copyright: "Copyright © 2019-2022 26F-Studio. Some Rights Reserved."
584+
copyright: "Copyright © 2019-2023 26F-Studio. Some Rights Reserved."
585585
icon-path: ./.github/build/macOS/${{ env.BUILD_TYPE }}/icon.icns
586586
love-package: ${{ env.CORE_LOVE_PACKAGE_PATH }}
587587
libs-path: ./ColdClear/universal/

0 commit comments

Comments
 (0)