-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit - 32-bit DipTrace Freeware edition, version 2.4.0.2
- Loading branch information
0 parents
commit abb0aff
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.git/ | ||
.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM tianon/wine:32 | ||
|
||
MAINTAINER Devan Lai <devan.lai@gmail.com> | ||
|
||
RUN apt-get -y update && apt-get install -y xvfb | ||
|
||
COPY bin/* /tmp/bin/ | ||
|
||
ENV WINEDLLOVERRIDES="mscoree,mshtml=" | ||
RUN if [ ! -d ${WINEPREFIX:-~/.wine/} ]; then \ | ||
xvfb-run -a wine winecfg /D && \ | ||
/tmp/bin/waitfor.sh wineserver; \ | ||
fi | ||
|
||
RUN wine reg ADD "HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion" \ | ||
/v "ProductName" /t REG_SZ /d "Microsoft Windows Vista"; | ||
|
||
COPY exe/*.exe /tmp/exe/ | ||
|
||
|
||
RUN xvfb-run -a wine \ | ||
/tmp/exe/dipfree_en.exe /silent /hide; \ | ||
/tmp/bin/waitfor.sh wineserver; \ | ||
test -f "`winepath 'C:\\Program Files\\DipTrace\\Schematic.exe'`" && \ | ||
test -f "`winepath 'C:\\Program Files\\DipTrace\\Pcb.exe'`"; | ||
|
||
RUN rm -rf /tmp/exe/ | ||
RUN rm -rf /tmp/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
PID=`pgrep $1` | ||
if [ -n "$PID" ]; then | ||
while ps -p $PID > /dev/null; | ||
do sleep 1; | ||
done; | ||
else | ||
>&2 echo "Could not find process \"$1\""; | ||
fi |
Binary file not shown.