Skip to content

Commit

Permalink
fonts: ensure wine based browsers all have basic fonts
Browse files Browse the repository at this point in the history
chrome: add env option to ignore proxy (used for testing, etc..)
  • Loading branch information
ikreymer committed Nov 12, 2015
1 parent a075381 commit a2f7844
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 21 deletions.
7 changes: 6 additions & 1 deletion browsers/chrome/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ mkdir ~/.config/
mkdir ~/.config/google-chrome
touch ~/.config/google-chrome/First\ Run

google-chrome --proxy-server="netcapsule_pywb_1:8080" "$URL"
if [ -n "$NO_PROXY" ]; then
google-chrome "$URL"
else
google-chrome --proxy-server="netcapsule_pywb_1:8080" "$URL"
fi

4 changes: 1 addition & 3 deletions browsers/ie4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ FROM netcapsule/base-wine-browser
USER browser
WORKDIR /home/browser

COPY ie4wine.tar.gz /home/browser/ie4wine.tar.gz
ADD ie4wine.tar.gz /home/browser/

COPY proxy.reg /home/browser/proxy.reg

RUN tar xvf /home/browser/ie4wine.tar.gz; mv /home/browser/ie4 /home/browser/.ie4

COPY flux-apps /home/browser/.fluxbox/apps
RUN sudo chown browser:browser -R /home/browser/.fluxbox

Expand Down
4 changes: 2 additions & 2 deletions browsers/ie4/ie4wine.tar.gz
Git LFS file not shown
2 changes: 1 addition & 1 deletion browsers/ie4/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export WINEPREFIX="/home/browser/.ie4"
export WINEPREFIX="/home/browser/ie4"

wine regedit proxy.reg

Expand Down
4 changes: 1 addition & 3 deletions browsers/ie5.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ FROM netcapsule/base-wine-browser
USER browser
WORKDIR /home/browser

COPY ie55wine.tar.gz /home/browser/ie55wine.tar.gz
ADD ie55wine.tar.gz /home/browser/

COPY proxy.reg /home/browser/proxy.reg

RUN tar xvf /home/browser/ie55wine.tar.gz; mv /home/browser/ie55 /home/browser/.ie55

COPY flux-apps /home/browser/.fluxbox/apps
RUN sudo chown browser:browser -R /home/browser/.fluxbox

Expand Down
4 changes: 2 additions & 2 deletions browsers/ie5.5/ie55wine.tar.gz
Git LFS file not shown
2 changes: 1 addition & 1 deletion browsers/ie5.5/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export WINEPREFIX="/home/browser/.ie55"
export WINEPREFIX="/home/browser/ie55"

wine regedit proxy.reg

Expand Down
4 changes: 2 additions & 2 deletions browsers/netscape4.8-win/ns48.tar.gz
Git LFS file not shown
4 changes: 1 addition & 3 deletions browsers/safari5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ FROM netcapsule/base-wine-browser

WORKDIR /home/browser

COPY safari.tar.gz /home/browser/safari.tar.gz
ADD safari.tar.gz /home/browser/

COPY proxy.reg /home/browser/proxy.reg

RUN tar xvf /home/browser/safari.tar.gz; mv /home/browser/safari /home/browser/.safari

COPY flux-apps /home/browser/.fluxbox/apps
RUN sudo chown browser:browser -R /home/browser/.fluxbox

Expand Down
2 changes: 1 addition & 1 deletion browsers/safari5/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export WINEPREFIX="/home/browser/.safari"
export WINEPREFIX="/home/browser/safari"

wine regedit proxy.reg

Expand Down
4 changes: 2 additions & 2 deletions browsers/safari5/safari.tar.gz
Git LFS file not shown

0 comments on commit a2f7844

Please sign in to comment.