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

Add registry hack for msvc8.0 #1309

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ jobs:
poetry install --no-root && \
poetry run compilers/download.py --compilers-dir ${COMPILER_BASE_PATH} && \
poetry run libraries/download.py --libraries-dir ${LIBRARY_BASE_PATH} && \
for r in wine/*.reg; do regedit $r; done && \
poetry run python manage.py test'

frontend_lint:
Expand Down
5 changes: 5 additions & 0 deletions backend/docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ poetry install
poetry run /backend/compilers/download.py
poetry run /backend/libraries/download.py

for reg in /backend/wine/*.reg; do
echo "Importing registry file $reg..."
regedit $reg
done

until nc -z ${DB_HOST} ${DB_PORT} > /dev/null; do
echo "Waiting for database to become available on ${DB_HOST}:${DB_PORT}..."
sleep 1
Expand Down
1 change: 1 addition & 0 deletions backend/wine/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory contains registry hacks required to get compilers to behave under Wine.
11 changes: 11 additions & 0 deletions backend/wine/msvc80.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Defaults\Provider Types\Type 001]
"Name"="Microsoft Strong Cryptographic Provider"
"TypeName"="RSA Full (Signature and Key Exchange)"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Defaults\Provider\Microsoft Strong Cryptographic Provider]
"Image Path"="rsaenh.dll"
"SigInFile"=dword:0
"Type"=dword:1