Skip to content

Commit 0ed52e2

Browse files
authored
Added Krokiet binaries to czkawka_gui.zip, hardware encoding (#1900)
1 parent 8aa765f commit 0ed52e2

File tree

119 files changed

+1871
-971
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+1871
-971
lines changed

.github/workflows/android.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ jobs:
5151
sudo apt update || true
5252
sudo apt install -y just
5353
54+
echo "123456" > keystore_pass
5455
just gen_keystores
56+
PASS=$(cat keystore_pass)
57+
sed -i "s|TO_REPLACE_KEYSTORE_PASSWORD|$PASS|g" cedinia/Cargo.toml
5558
5659
- name: Patch Cargo.toml - set min/target SDK versions
5760
run: |

.github/workflows/quality.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,3 @@ jobs:
3535
run: |
3636
cargo clippy --all-targets --all-features -- -D warnings
3737
cargo clippy --all-targets -- -D warnings
38-
39-
- name: Check tools
40-
run: |
41-
cd misc/test_image_perf
42-
cargo check
43-
cd ../../
44-
45-
cd misc/test_read_perf
46-
cargo check
47-
cd ../../

.github/workflows/windows.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,14 @@ jobs:
217217
mv libEGL.dll package/
218218
mv libGLESv2.dll package/
219219
220-
cp windows_krokiet_on_windows_skia_opengl.exe package/krokiet.exe
220+
cp windows_krokiet_on_windows_all_backends.exe package/krokiet.exe
221+
222+
# krokiet SLINT_BACKEND launcher scripts
223+
printf '@echo off\r\nset SLINT_BACKEND=winit-femtovg\r\n"%%~dp0krokiet.exe" %%*\r\n' > package/krokiet_winit_femtovg.bat
224+
printf '@echo off\r\nset SLINT_BACKEND=winit-skia-opengl\r\n"%%~dp0krokiet.exe" %%*\r\n' > package/krokiet_winit_skia_opengl.bat
225+
printf '@echo off\r\nset SLINT_BACKEND=winit-skia-vulkan\r\n"%%~dp0krokiet.exe" %%*\r\n' > package/krokiet_winit_skia_vulkan.bat
226+
printf '@echo off\r\nset SLINT_BACKEND=winit-software\r\n"%%~dp0krokiet.exe" %%*\r\n' > package/krokiet_winit_software.bat
227+
printf '@echo off\r\nset SLINT_BACKEND=femtovg-wgpu\r\n"%%~dp0krokiet.exe" %%*\r\n' > package/krokiet_femtovg_wgpu.bat
221228
222229
{
223230
echo '# Czkawka'
@@ -231,6 +238,14 @@ jobs:
231238
echo ''
232239
echo 'More information: https://github.com/qarmin/czkawka'
233240
} > package/README.md
241+
echo "Really use Krokiet" > package/USE_KROKIET_INSTEAD_CZKAWKA_GTK.txt
242+
echo "I'm not joking, just use Krokiet" > package/USE_KROKIET_JUST_USE_IT.txt
243+
echo "Seriously, Czkawka GUI is deprecated, use Krokiet" > package/USE_KROKIET_SERIOUSLY.txt
244+
245+
# czkawka_gui renderer launcher scripts (GSK_RENDERER)
246+
printf '@echo off\r\nset GSK_RENDERER=cairo\r\n"%%~dp0czkawka_gui.exe" %%*\r\n' > package/czkawka_gui_cairo_renderer.bat
247+
printf '@echo off\r\nset GSK_RENDERER=opengl\r\n"%%~dp0czkawka_gui.exe" %%*\r\n' > package/czkawka_gui_opengl_renderer.bat
248+
printf '@echo off\r\nset GSK_RENDERER=vulkan\r\n"%%~dp0czkawka_gui.exe" %%*\r\n' > package/czkawka_gui_vulkan_renderer.bat
234249
235250
- name: Upload artifacts
236251
uses: actions/upload-artifact@v6

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ cedinia/docs
4343
*.gz
4444
/pyproject.toml
4545
uv.lock
46-
i18n
46+
i18n
47+
keystore_pass

CLAUDE.md renamed to AGENTS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ All user-visible strings use [Fluent](https://projectfluent.org/) (`.ftl` files)
203203

204204
English is the source/fallback language. All other locales are AI-translated and then validated.
205205

206+
**Important:** Only edit the English `.ftl` files (`i18n/en/`) directly in this repository.
207+
All other language files are managed through [Crowdin](https://crowdin.com/) and will be
208+
**overwritten** when translations are pulled from Crowdin. Any manual edits to non-English
209+
`.ftl` files in the repo will be lost on the next `just unpack_translations` run.
210+
206211
---
207212

208213
## Slint UI conventions

0 commit comments

Comments
 (0)