From c416fbdd4093b894c5bca986056775a4548c1a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Sun, 26 Nov 2023 14:08:43 +0100 Subject: [PATCH] ABCD --- .github/workflows/windows.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d8f1396..1ffe963 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -118,9 +118,7 @@ jobs: run: | dnf install curl wget2 unzip mingw64-bzip2.noarch mingw64-poppler mingw64-poppler-glib mingw32-python3 rust-gio-devel adwaita-icon-theme -y && dnf clean all -y curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - - - name: Setup rust version - run: | + source "$HOME/.cargo/env" rustup target add x86_64-pc-windows-gnu - name: Cross compile for Windows Heif @@ -194,10 +192,9 @@ jobs: run: | dnf install curl wget2 unzip mingw64-bzip2.noarch mingw64-poppler mingw64-poppler-glib mingw32-python3 rust-gio-devel adwaita-icon-theme -y && dnf clean all -y curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - - - name: Setup rust version - run: | + source "$HOME/.cargo/env" rustup target add x86_64-pc-windows-gnu + - name: Show console window on windows run: sd -s '#![windows_subsystem = "windows"]' '//#![windows_subsystem = "windows"]' krokiet/src/main.rs - name: Cross compile for Windows