Skip to content
Snippets Groups Projects
Commit c0f45cbb authored by Diego Giovane Pasqualin's avatar Diego Giovane Pasqualin
Browse files

Merge branch 'fix/windows-agent-generation' into 'master'

Fix/windows agent generation
parents 75748448 0d3bf4c3
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,10 @@ collect: ...@@ -37,6 +37,10 @@ collect:
installer: installer:
#@cd $(SRCDIR) #@cd $(SRCDIR)
@cp ~/.wine/drive_c/windows/system32/python27.dll $(COLLECTDIR)/src/dist/
@cp ~/.wine/drive_c/windows/system32/api-ms-win-core-localregistry-l1-1-0.dll $(COLLECTDIR)/src/dist/
@cp ~/.wine/drive_c/windows/system32/api-ms-win-core-processthreads-l1-1-0.dll $(COLLECTDIR)/src/dist/
@cp ~/.wine/drive_c/windows/system32/api-ms-win-security-base-l1-1-0.dll $(COLLECTDIR)/src/dist/
@$(MAKENSIS) $(INSTALLERSRC) @$(MAKENSIS) $(INSTALLERSRC)
@mkdir -p "windows-agent" @mkdir -p "windows-agent"
@cp build/DataSID.exe "windows-agent" @cp build/DataSID.exe "windows-agent"
......
#!/bin/bash #!/bin/bash
REQUIRED_PKGS="wine gcc-mingw-w64 p7zip-full" REQUIRED_PKGS="wine gcc-mingw-w64 p7zip-full autoconf"
pkgs_to_install="" pkgs_to_install=""
for pkg in $REQUIRED_PKGS; do for pkg in $REQUIRED_PKGS; do
if ! dpkg --get-selections $pkg | grep -q -w install$; then if ! dpkg --get-selections $pkg | grep -q -w install$; then
...@@ -8,7 +8,7 @@ for pkg in $REQUIRED_PKGS; do ...@@ -8,7 +8,7 @@ for pkg in $REQUIRED_PKGS; do
fi fi
done done
test -z $pkgs_to_install || sudo apt-get install $pkgs_to_install -y test -z $pkgs_to_install || sudo add-apt-repository ppa:ubuntu-wine/ppa || sudo update apt-get installsudo apt-get install $pkgs_to_install -y
required_wine_pkgs="/tmp/nsis-2.45.exe /tmp/python-2.7.5.msi /tmp/py2exe.exe /tmp/pywin32.exe /tmp/wmi.exe" required_wine_pkgs="/tmp/nsis-2.45.exe /tmp/python-2.7.5.msi /tmp/py2exe.exe /tmp/pywin32.exe /tmp/wmi.exe"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment