mirror of
https://github.com/NyaMisty/docker-wine-ida.git
synced 2026-06-21 00:16:44 +08:00
Automatically agree license
This commit is contained in:
parent
4c1a7151a5
commit
e0b151dbdb
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ MAINTAINER NyaMisty
|
|||
|
||||
ARG PYTHON_VER=3.9.6
|
||||
ARG USE_IDAPYSWITCH=1
|
||||
ARG IDA_LICENSE_NAME=docker-wine-ida
|
||||
ARG DOCKER_PASSWORD=DockerWineIDA
|
||||
|
||||
ADD . /root/.wine64/drive_c/IDA
|
||||
|
|
@ -28,6 +29,7 @@ RUN --security=insecure true \
|
|||
fi \
|
||||
&& while pgrep wineserver >/dev/null; do echo "Waiting for wineserver"; sleep 1; done \
|
||||
&& if [ "$USE_IDAPYSWITCH" = "1" ]; then (echo 0 | wine 'C:\IDA\idapyswitch.exe'; wine cmd /c reg delete 'HKCU\Software\Hex-Rays\IDA' /v Python3TargetDLL /f); fi \
|
||||
&& wine cmd /c reg add 'HKCU\Software\Hex-Rays\IDA' /v "License $IDA_LICENSE_NAME" /t REG_DWORD /d 1 /f \
|
||||
&& while pgrep wineserver >/dev/null; do echo "Waiting for wineserver"; sleep 1; done \
|
||||
&& winetricks -q win7 \
|
||||
&& while pgrep wineserver >/dev/null; do echo "Waiting for wineserver"; sleep 1; done \
|
||||
|
|
|
|||
Loading…
Reference in a new issue