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

windows: package into a single binary #7

Open
azimut opened this issue Jun 30, 2023 · 1 comment
Open

windows: package into a single binary #7

azimut opened this issue Jun 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@azimut
Copy link
Owner

azimut commented Jun 30, 2023

mkdir -p out/tmp
cp ./bin/color-picker.exe ./out/tmp/color-picker.exe

# copy libzstd
ls -lah /d/msys64/
cp /d/msys64/mingw64/bin/libzstd.dll ./out/tmp/libzstd.dll

bin/rh/rh.exe -open ./bin/tclkit-gui.exe \
    -save ./out/tmp/tclkit-gui-noicon.exe \
    -action delete \
    -mask ICONGROUP,,
bin/rh/rh.exe -open ./out/tmp/tclkit-gui-noicon.exe \
    -save ./out/tmp/tclkit-gui.exe \
    -action addskip \
    -res ./resources/iconfile.ico \
    -mask ICONGROUP,TK
rm -rf ./out/tmp/tclkit-gui-noicon.exe

bin/warp-packer.exe --arch windows-x64 \
    --input_dir ./out/tmp/ \
    --exec color-picker.exe \
    --output ./out/tmp/color-picker-warp.exe

bin/rh/rh.exe -open ./out/tmp/color-picker-warp.exe \
    -save ./out/color-picker.exe \
    -action addskip \
    -res ./resources/iconfile.ico \
    -mask ICONGROUP,MAINICON

"$EB" /subsystem:windows ./out/color-picker.exe
@azimut azimut added the enhancement New feature or request label Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant