icon stuff
This commit is contained in:
15
.github/workflows/generator-windows.yml
vendored
15
.github/workflows/generator-windows.yml
vendored
@@ -365,20 +365,15 @@ jobs:
|
|||||||
head -n 100 "${VCPKG_ROOT}/buildtrees/ffmpeg/build-${{ matrix.job.vcpkg-triplet }}-rel-out.log" || true
|
head -n 100 "${VCPKG_ROOT}/buildtrees/ffmpeg/build-${{ matrix.job.vcpkg-triplet }}-rel-out.log" || true
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: icon stuff
|
|
||||||
if: ${{ inputs.iconlink != 'false' }}
|
|
||||||
continue-on-error: true
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
mv ./res/icon.ico ./res/icon.ico.bak
|
|
||||||
mv ./res/icon.png ./res/icon.png.bak
|
|
||||||
mv ./res/tray-icon.ico ./res/tray-icon.ico.bak
|
|
||||||
|
|
||||||
- name: magick stuff
|
- name: magick stuff
|
||||||
if: ${{ inputs.iconlink != 'false' }}
|
if: ${{ inputs.iconlink != 'false' }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
Invoke-WebRequest -Uri ${{ fromJson(inputs.iconlink).url }}/get_png?filename=${{ fromJson(inputs.iconlink).file }}"&"uuid=${{ fromJson(inputs.iconlink).uuid }} -OutFile ./res/icon.png
|
Invoke-WebRequest -Uri ${{ fromJson(inputs.iconlink).url }}/get_png?filename=${{ fromJson(inputs.iconlink).file }}"&"uuid=${{ fromJson(inputs.iconlink).uuid }} -OutFile ./res/iconx.png
|
||||||
|
mv ./res/icon.ico ./res/icon.ico.bak
|
||||||
|
mv ./res/icon.png ./res/icon.png.bak
|
||||||
|
mv ./res/tray-icon.ico ./res/tray-icon.ico.bak
|
||||||
|
mv ./res/iconx.png ./res/icon.png
|
||||||
mv ./res/32x32.png ./res/32x32.png.bak
|
mv ./res/32x32.png ./res/32x32.png.bak
|
||||||
mv ./res/64x64.png ./res/64x64.png.bak
|
mv ./res/64x64.png ./res/64x64.png.bak
|
||||||
mv ./res/128x128.png ./res/128x128.png.bak
|
mv ./res/128x128.png ./res/128x128.png.bak
|
||||||
|
|||||||
Reference in New Issue
Block a user