Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: win2k and winxp build #167

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ jobs:
- uses: actions/checkout@v4

- run: make build-win2k
- run: zip -r win2k.zip ./build/bin/artifactcollector2k.exe
- run: mv ./build/bin/artifactcollector2k.exe ./artifactcollector2k.exe
- run: zip -r win2k.zip ./artifactcollector2k.exe

- uses: actions/upload-artifact@v4
with:
Expand All @@ -205,7 +206,8 @@ jobs:
- uses: actions/checkout@v4

- run: make build-winxp
- run: zip -r winxp.zip ./build/bin/artifactcollectorxp.exe
- run: mv ./build/bin/artifactcollectorxp.exe ./artifactcollectorxp.exe
- run: zip -r winxp.zip ./artifactcollectorxp.exe

- uses: actions/upload-artifact@v4
with:
Expand Down
4 changes: 3 additions & 1 deletion build/win2k/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ WORKDIR /repo
RUN go install golang.org/x/tools/cmd/[email protected]
RUN go install github.com/forensicanalysis/go-resources/cmd/[email protected]
RUN go install github.com/akavel/[email protected]
RUN go run tools/yaml2go/main.go config/ac.yaml config/artifacts/*
RUN rm -rf config/artifacts
RUN git clone https://github.com/forensicanalysis/artifacts.git config/artifacts
RUN go run tools/yaml2go/main.go config/ac.yaml config/artifacts/*.yaml
RUN resources -package assets -output assets/bin.generated.go config/bin/*
RUN rsrc -arch amd64 -manifest build/win/artifactcollector.exe.manifest -ico build/win/artifactcollector.ico -o build/win/artifactcollector.syso
RUN rsrc -arch 386 -manifest build/win/artifactcollector32.exe.manifest -ico build/win/artifactcollector.ico -o build/win/artifactcollector32.syso
Expand Down
4 changes: 3 additions & 1 deletion build/winxp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ WORKDIR /repo
RUN go install golang.org/x/tools/cmd/[email protected]
RUN go install github.com/forensicanalysis/go-resources/cmd/[email protected]
RUN go install github.com/akavel/[email protected]
RUN go run tools/yaml2go/main.go config/ac.yaml config/artifacts/*
RUN rm -rf config/artifacts
RUN git clone https://github.com/forensicanalysis/artifacts.git config/artifacts
RUN go run tools/yaml2go/main.go config/ac.yaml config/artifacts/*.yaml
RUN resources -package assets -output assets/bin.generated.go config/bin/*
RUN rsrc -arch amd64 -manifest build/win/artifactcollector.exe.manifest -ico build/win/artifactcollector.ico -o build/win/artifactcollector.syso
RUN rsrc -arch 386 -manifest build/win/artifactcollector32.exe.manifest -ico build/win/artifactcollector.ico -o build/win/artifactcollector32.syso
Expand Down
Loading