Skip to content

Commit 59c793f

Browse files
committed
Update Anki to 25.02
Since anki now uses yarn 4, some workarounds are required. flatpak-builder-tools upstream does not support yarn >=2, but there is an open PR to add support [1]. That gets most of the way there, but there is still a minor issue that I assume was introduced between yarn 2 and 4 not included in that PR, so I forked it. Anki itself also needs minor changes (yarn-4-fixes.patch) since yarn 4 removed the --offline and --ignore-scripts options, but anki's offline build still uses them. They are now instead set by the flatpak-builder-tools script. Anki uses the YARN_BINARY environment variable, but yarn will interpret any environment variables starting with YARN_ as yarn configuration, so that will need to be renamed. [1] flatpak/flatpak-builder-tools#252
1 parent 0cbf09f commit 59c793f

File tree

6 files changed

+4048
-2966
lines changed

6 files changed

+4048
-2966
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "flatpak-builder-tools"]
2+
path = flatpak-builder-tools
3+
url = https://github.com/catsout/flatpak-builder-tools.git

0 commit comments

Comments
 (0)