Skip to content

Commit

Permalink
Add registry hack for msvc8.0 (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkst authored Aug 1, 2024
1 parent beec173 commit a0caef8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
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

0 comments on commit a0caef8

Please sign in to comment.