Skip to content

Commit

Permalink
thinner
Browse files Browse the repository at this point in the history
  • Loading branch information
devinstasafe committed Mar 22, 2022
1 parent c3c33ab commit c598a51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND noninteractive

RUN dpkg --add-architecture i386
RUN sed -i "s/main/main contrib non-free/" etc/apt/sources.list
RUN apt-get update && apt-get install -yq wine curl unrar unzip libcurl4-openssl-dev autoconf gcc make libssl-dev p7zip-full || apt-get install -yq wine curl unrar unzip libcurl4-openssl-dev autoconf gcc make libssl-dev p7zip-full || apt-get install -yq wine curl unrar unzip libcurl4-openssl-dev autoconf gcc make libssl-dev p7zip-full
RUN apt-get update && apt-get install -yq curl libcurl4-openssl-dev autoconf gcc make libssl-dev || apt-get install -yq curl libcurl4-openssl-dev autoconf gcc make libssl-dev || apt-get install -yq curl libcurl4-openssl-dev autoconf gcc make libssl-dev

# # innosetup
# RUN mkdir innosetup && \
Expand All @@ -28,7 +28,7 @@ RUN mkdir /osslsigncode && \

LABEL "name"="Windows Signing Utility"
LABEL "maintainer"="Jon Friesen"
LABEL "version"="1.0.0"
LABEL "version"="1.1.0"

LABEL "com.github.actions.name"="Windows Signing Utility"
LABEL "com.github.actions.description"="Windows Signing Utility"
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ do

#osslsigncode sign -pkcs12 <pfx-file> -pass <pfx-password> -n "Your Application" -i http://www.yourwebsite.com/ -in yourapp.exe -out yourapp-signed.exe

/osslsigncode/osslsigncode-1.7.1/osslsigncode sign -pkcs12 /certs/bundle.crt -pass $WINDOWS_PASS -h sha256 -n ${NAME} -i ${DOMAIN} -t "http://timestamp.digicert.com" -in ${array[$i]} -out /signedbinary
/osslsigncode/osslsigncode-2.3.0/osslsigncode sign -pkcs12 /certs/bundle.crt -pass $WINDOWS_PASS -h sha256 -n ${NAME} -i ${DOMAIN} -t "http://timestamp.digicert.com" -in ${array[$i]} -out /signedbinary

echo "--> overwriting existing binary with signed binary"
cp /signedbinary ${array[$i]}
Expand Down

0 comments on commit c598a51

Please sign in to comment.