Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added codesign and resources #1069

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Added codesign and resources #1069

wants to merge 2 commits into from

Conversation

stamepicmorg
Copy link
Contributor

@stamepicmorg stamepicmorg commented Dec 15, 2024


Caution

This is infrastructure update! NO code and NO bugfixes was implemented at ReHLDS at this PR.


Also, I know that we have .rc files that are used to create binaries.

The problem is that we have not yet fully decided how their future will develop from a development point of view. Also, now there are only 2 .rc files that are built into hlds.exe and hltv.exe. All other dlls are built naked, which excites antiviruses.

For now, I have chosen to use rcedit, written by the Electron project, which can successfully read and edit resources in compiled files. Which is what I am actually doing.

For now, I suggest leaving it as is. To launch the mechanism. And optimize it in subsequent iterations of development, to move the progress forward a little.

@stamepicmorg stamepicmorg added Priority: ⚠️ medium Medium priority tasks that should be addressed soon. Status: 👀 needs review Requires code or changes review. Difficulty: 🟡 medium Task of medium difficulty requiring moderate effort. Type: ⚙️ infrastructure Tasks for maintaining or improving system infrastructure. Engine: ⚙️ Independent Case do not refer to any Engine. OS: 💻 Independent Case do not refer to any OS. labels Dec 15, 2024
@stamepicmorg stamepicmorg self-assigned this Dec 15, 2024
@stamepicmorg stamepicmorg marked this pull request as draft December 15, 2024 18:26
Copy link
Member

@SergeyShorokhov SergeyShorokhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this functionality!

I need some time (I will gradually review this PR ) to look at this PR in detail.
You can immediately see the violation of the declarative component of the .yml file.

Comment on lines -81 to +119
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this necessary in this PR?

ubuntu-latest - It is a tag, and it will automatically update to the system we need.

Copy link
Contributor Author

@stamepicmorg stamepicmorg Dec 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

just -latest tag leads to an outdated version. if you specify 24, then it is a little newer and it is also LTS

it is not critical. i could roll-back it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I heard that GitHub is planning to move ubuntu-latest to ubuntu-24.04 early next year or so.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, and i think it very slow to wait. why not to update to next LTS now? it stable.

@stamepicmorg
Copy link
Contributor Author

stamepicmorg commented Dec 16, 2024

Tonight I will update PR. Do not merge it yet please.

Tip

We collectively came to the conclusion that signing each file inside the archive with .asc files is a bit redundant. For now, we'll just leave the signatures of the final archive and the native Windows ones.

- name: Get rcedit from chocolatey
run: |
choco install rcedit -y
shell: "pwsh"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
shell: "pwsh"

AFAIK, there is no need to use the pwsh shell. Standard Git Bash is fully suitable for the tasks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a im not trust to git bash console at windows. PowerShell is more native.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: 🟡 medium Task of medium difficulty requiring moderate effort. Engine: ⚙️ Independent Case do not refer to any Engine. OS: 💻 Independent Case do not refer to any OS. Priority: ⚠️ medium Medium priority tasks that should be addressed soon. Status: 👀 needs review Requires code or changes review. Type: ⚙️ infrastructure Tasks for maintaining or improving system infrastructure.
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

3 participants