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B4j=PN*(#;
zH%FS-CS&M%0+KB>eYyuhwhq0$ecN^;Aihscjgmi|+m}eU&c(8BW2VOKOZ0D#sG+Xs
ztdy Option<&'static [u8]> {
"lightcraft" => include_bytes!("../../../assets/app-icons/lightcraft.png"),
"pdfcraft" => include_bytes!("../../../assets/app-icons/pdfcraft.png"),
"effectcraft" => include_bytes!("../../../assets/app-icons/effectcraft.png"),
- "anicraft" => include_bytes!("../../../assets/app-icons/anicraft.png"),
"designcraft" => include_bytes!("../../../assets/app-icons/designcraft.png"),
"wordcraft" => include_bytes!("../../../assets/app-icons/wordcraft.png"),
"deckcraft" => include_bytes!("../../../assets/app-icons/deckcraft.png"),
@@ -359,6 +353,13 @@ pub fn app_icon_png(id: &str) -> Option<&'static [u8]> {
mod tests {
use super::*;
+ // AniCraft is intentionally excluded from this release.
+ #[test]
+ fn anicraft_is_excluded_from_this_release() {
+ assert!(CraftApp::by_id("anicraft").is_none());
+ assert!(app_icon_png("anicraft").is_none());
+ }
+
#[test]
fn every_app_has_its_icon() {
for app in &SUITE {
@@ -370,8 +371,8 @@ mod tests {
/// Every catalog entry must have a distinct lookup key.
#[test]
- fn suite_has_nineteen_apps_with_unique_ids() {
- assert_eq!(SUITE.len(), 19);
+ fn suite_has_eighteen_apps_with_unique_ids() {
+ assert_eq!(SUITE.len(), 18);
let mut ids: Vec<_> = SUITE.iter().map(|a| a.id).collect();
ids.sort_unstable();
ids.dedup();
@@ -432,16 +433,6 @@ mod tests {
assert_eq!(app.mac_team, Some(ARTCRAFT_TEAM_ID));
}
- #[test]
- fn anicraft_is_an_official_app() {
- let app = CraftApp::by_id("anicraft").expect("anicraft");
- assert_eq!(
- (app.kind, app.repo, app.bundle_id(), app.mac_team),
- (AppKind::Official, "storytold/anicraft", "ai.storyteller.anicraft".into(), Some(ARTCRAFT_TEAM_ID))
- );
- assert_eq!(app.website(), "https://github.com/storytold/anicraft");
- }
-
#[test]
fn craft_anything_is_an_official_app() {
let ca = CraftApp::by_id("craft-anything").unwrap();
diff --git a/crates/core/src/details.rs b/crates/core/src/details.rs
index 86d091c3..19ff00b0 100644
--- a/crates/core/src/details.rs
+++ b/crates/core/src/details.rs
@@ -139,7 +139,7 @@ pub fn screenshot_within_budget(bytes: &[u8]) -> bool {
/// Where every Craft App runs (getartcraft.com lists the same for each of them).
const PLATFORMS: &str = "macOS, Windows, Linux, FreeBSD, web";
-pub const DETAILS: [AppDetails; 19] = [
+pub const DETAILS: [AppDetails; 18] = [
AppDetails {
id: "photocraft",
headline: "The image editor you already know how to use.",
@@ -277,39 +277,6 @@ pub const DETAILS: [AppDetails; 19] = [
],
platforms: PLATFORMS,
},
- AppDetails {
- id: "anicraft",
- headline: "Vector animation on a timeline you know.",
- about: "Open-source 2D vector animation, built in pure Rust.",
- features: &[
- feature(
- "Familiar by design",
- "Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening.",
- ),
- feature(
- "Tweens that ease",
- "Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another.",
- ),
- feature(
- "Symbols and scenes",
- "Graphic symbols and movie clips with nested timelines and loop modes, mask and guide layers, filters, blend modes and scenes.",
- ),
- feature(
- "Real vector tools",
- "Pen, Pencil with curve fitting, shapes, text, Paint Bucket and Ink Bottle, with Bézier anchors and handles you edit point by point.",
- ),
- feature(
- "Open formats",
- "Opens .fla and .xfl documents and imports SVG. Exports PNG sequences, GIF, SVG frames, sprite sheets, Lottie, and WebM or MP4 through your own FFmpeg.",
- ),
- feature(
- "Agent-ready",
- "Every action is an engine command, so the CLI, a JSON-lines channel and an MCP server can draw, animate and export the way a person does.",
- ),
- ],
- shots: &[],
- platforms: PLATFORMS,
- },
AppDetails {
id: "designcraft",
headline: "Page layout and publishing.",
diff --git a/crates/native/src/desktop_entry.rs b/crates/native/src/desktop_entry.rs
index 5819c6b9..344cc4f5 100644
--- a/crates/native/src/desktop_entry.rs
+++ b/crates/native/src/desktop_entry.rs
@@ -27,7 +27,6 @@ pub fn meta(app: &CraftApp) -> (&'static str, Option<&'static str>) {
"designcraft" => ("Graphics;Publishing;", None),
"vectorcraft" => ("Graphics;2DGraphics;VectorGraphics;", None),
"effectcraft" => ("AudioVideo;Video;Graphics;2DGraphics;", None),
- "anicraft" => ("Graphics;2DGraphics;VectorGraphics;AudioVideo;", Some("anicraft")),
"wordcraft" => ("Office;WordProcessor;", None),
"deckcraft" => ("Office;Presentation;", None),
"gridcraft" => ("Office;Spreadsheet;", None),
diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv
index 5f1b1b43..84ff992e 100644
--- a/crates/ui-egui/src/i18n/cs.tsv
+++ b/crates/ui-egui/src/i18n/cs.tsv
@@ -405,10 +405,3 @@ materialcraft Preview materials in 2D and on 3D models. Prohlížejte materiály
Migrate Flatpak bundles to ArtCraft OCI (experimental) Převést balíčky Flatpak na ArtCraft OCI (experimentální)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. Při aktualizaci převést aplikace ArtCraft, pokud je dostupný odpovídající balíček. Jinak nadále používat samostatné balíčky.
The OCI repository is a preview with GPG verification disabled. Repozitář OCI je předběžná verze s vypnutým ověřováním GPG.
-anicraft 2D vector animation 2D vektorová animace
-anicraft Vector animation on a timeline you know. Vektorová animace na známé časové ose.
-anicraft Open-source 2D vector animation, built in pure Rust. Open-source 2D vektorová animace vytvořená v čistém Rustu.
-anicraft Familiar by design Navrženo tak, jak jste zvyklí
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. Scéna, nástroje, časová osa, vrstvy, klíčové snímky, Vlastnosti i Knihovna jsou tam, kde je animátoři čekají, včetně cibulového pauzáku.
-anicraft Tweens that ease Plynulé mezilehlé pohyby (tweens)
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. Klasické mezilehlé pohyby s osmi předvolbami zpomalení a vlastními křivkami, plus tvarové mezilehlé pohyby pro morphing.
diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv
index 07d16406..1c354a59 100644
--- a/crates/ui-egui/src/i18n/de.tsv
+++ b/crates/ui-egui/src/i18n/de.tsv
@@ -437,10 +437,3 @@ materialcraft Preview materials in 2D and on 3D models. Materialien in 2D und au
Migrate Flatpak bundles to ArtCraft OCI (experimental) Flatpak-Bundles zu ArtCraft OCI migrieren (experimentell)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. ArtCraft-Apps beim Aktualisieren umstellen, wenn das passende Paket verfügbar ist. Andernfalls weiterhin Bundles verwenden.
The OCI repository is a preview with GPG verification disabled. Das OCI-Repository ist eine Vorschau mit deaktivierter GPG-Prüfung.
-anicraft 2D vector animation 2D-Vektoranimation
-anicraft Vector animation on a timeline you know. Vektoranimation auf einer vertrauten Zeitleiste.
-anicraft Open-source 2D vector animation, built in pure Rust. Open-Source-2D-Vektoranimation, entwickelt in reinem Rust.
-anicraft Familiar by design Gewohnt aufgebaut
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. Bühne, Werkzeuge, Zeitleiste, Ebenen, Keyframes, Eigenschaften und Bibliothek genau dort, wo Animatoren sie erwarten, inklusive Zwiebelhaut.
-anicraft Tweens that ease Fließende Tweens
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. Klassische Tweens mit acht Easing-Voreinstellungen und Kurven sowie Form-Tweens für Vektor-Morphing.
diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv
index 4d843290..c2e6bee4 100644
--- a/crates/ui-egui/src/i18n/es.tsv
+++ b/crates/ui-egui/src/i18n/es.tsv
@@ -418,10 +418,3 @@ materialcraft Preview materials in 2D and on 3D models. Previsualiza materiales
Migrate Flatpak bundles to ArtCraft OCI (experimental) Migrar paquetes Flatpak a ArtCraft OCI (experimental)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. Al actualizar, migrar las aplicaciones de ArtCraft si está disponible el paquete correspondiente. De lo contrario, seguir usando paquetes independientes.
The OCI repository is a preview with GPG verification disabled. El repositorio OCI es una versión preliminar con la verificación GPG desactivada.
-anicraft 2D vector animation Animación vectorial 2D
-anicraft Vector animation on a timeline you know. Animación vectorial en una línea de tiempo familiar.
-anicraft Open-source 2D vector animation, built in pure Rust. Animación vectorial 2D de código abierto, creada en Rust puro.
-anicraft Familiar by design Diseño familiar
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. Escenario, herramientas, línea de tiempo, capas, fotogramas clave, Propiedades y Biblioteca donde los animadores esperan, con papel cebolla.
-anicraft Tweens that ease Interpolaciones suaves
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. Interpolaciones clásicas con ocho preajustes de aceleración y curvas personalizadas, además de interpolación de forma.
diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv
index e1a0146f..442aed61 100644
--- a/crates/ui-egui/src/i18n/fr.tsv
+++ b/crates/ui-egui/src/i18n/fr.tsv
@@ -435,10 +435,3 @@ materialcraft Preview materials in 2D and on 3D models. Visualisez les matériau
Migrate Flatpak bundles to ArtCraft OCI (experimental) Migrer les paquets Flatpak vers ArtCraft OCI (expérimental)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. Lors des mises à jour, migrer les applications ArtCraft si le paquet correspondant est disponible. Sinon, continuer à utiliser les paquets autonomes.
The OCI repository is a preview with GPG verification disabled. Le dépôt OCI est une version préliminaire avec la vérification GPG désactivée.
-anicraft 2D vector animation Animation vectorielle 2D
-anicraft Vector animation on a timeline you know. Animation vectorielle sur une chronologie familière.
-anicraft Open-source 2D vector animation, built in pure Rust. Animation vectorielle 2D open source, conçue en pur Rust.
-anicraft Familiar by design Conception familière
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. Scène, outils, chronologie, calques, images clés, Propriétés et Bibliothèque là où les animateurs les attendent, avec pelure d'oignon.
-anicraft Tweens that ease Interpolations fluides
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. Interpolations classiques avec huit préréglages d'accélération et courbes personnalisées, plus interpolations de forme.
diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv
index 178935f3..e7aa04a3 100644
--- a/crates/ui-egui/src/i18n/hu.tsv
+++ b/crates/ui-egui/src/i18n/hu.tsv
@@ -438,10 +438,3 @@ materialcraft Preview materials in 2D and on 3D models. Tekintsd meg az anyagoka
Migrate Flatpak bundles to ArtCraft OCI (experimental) Flatpak-csomagok átállítása ArtCraft OCI-ra (kísérleti)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. Frissítéskor állítsa át az ArtCraft alkalmazásait, ha elérhető a megfelelő csomag. Egyébként továbbra is önálló csomagokat használjon.
The OCI repository is a preview with GPG verification disabled. Az OCI-tároló előzetes verzió, kikapcsolt GPG-ellenőrzéssel.
-anicraft 2D vector animation 2D vektoros animáció
-anicraft Vector animation on a timeline you know. Vektoranimáció egy ismerős idővonalon.
-anicraft Open-source 2D vector animation, built in pure Rust. Nyílt forráskódú 2D vektoranimáció, tiszta Rustban írva.
-anicraft Familiar by design Ismerős kialakítás
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. Színpad, eszközök, idővonal, rétegek, kulcsképkockák, Tulajdonságok és Könyvtár a megszokott helyen, hagymabőr funkcióval.
-anicraft Tweens that ease Finom mozgásinterpolációk
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. Klasszikus mozgásinterpolációk nyolc görbe-előbeállítással és egyéni görbékkel, valamint alakos interpolációk.
diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv
index c661cb12..3a76e29d 100644
--- a/crates/ui-egui/src/i18n/ja.tsv
+++ b/crates/ui-egui/src/i18n/ja.tsv
@@ -440,10 +440,3 @@ materialcraft Preview materials in 2D and on 3D models. マテリアルを2Dと3
Migrate Flatpak bundles to ArtCraft OCI (experimental) Flatpak バンドルを ArtCraft OCI に移行する(実験的)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. 更新時に対応するパッケージがあれば ArtCraft 公式アプリを移行します。なければ引き続きバンドルを使用します。
The OCI repository is a preview with GPG verification disabled. OCI リポジトリはプレビュー版で、GPG 検証は無効になっています。
-anicraft 2D vector animation 2Dベクターアニメーション
-anicraft Vector animation on a timeline you know. 慣れ親しんだタイムラインでのベクターアニメーション。
-anicraft Open-source 2D vector animation, built in pure Rust. ピュアRustで構築されたオープンソースの2Dベクターアニメーション。
-anicraft Familiar by design 直感的なデザイン
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. ステージ、ツール、タイムライン、レイヤー、キーフレーム、プロパティ、ライブラリが期待通りの場所に配置され、オニオンスキンも備えています。
-anicraft Tweens that ease 滑らかなトゥイーン
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. 8つのイージングプリセットとカスタム曲線を持つクラシックトゥイーン、そしてシェイプトゥイーンに対応。
diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv
index a66d0db8..e300b854 100644
--- a/crates/ui-egui/src/i18n/ka.tsv
+++ b/crates/ui-egui/src/i18n/ka.tsv
@@ -436,10 +436,3 @@ materialcraft Combine noises, patterns and filters. ხმაურების,
materialcraft Live previews ცოცხალი წინასწარი ნახვა
materialcraft Preview materials in 2D and on 3D models. მასალების წინასწარი ნახვა 2D-ში და 3D მოდელებზე.
Download size: {size} ჩამოტვირთვის ზომა: {size}
-anicraft 2D vector animation 2D ვექტორული ანიმაცია
-anicraft Vector animation on a timeline you know. ვექტორული ანიმაცია ნაცნობ ქრონოლოგიაზე.
-anicraft Open-source 2D vector animation, built in pure Rust. ღია კოდის 2D ვექტორული ანიმაცია, შექმნილი სუფთა Rust-ში.
-anicraft Familiar by design ნაცნობი დიზაინი
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. სცენა, ხელსაწყოები, დროის ხაზი, ფენები, საკვანძო კადრები, თვისებები და ბიბლიოთეკა იქ, სადაც ანიმატორები ელიან.
-anicraft Tweens that ease გლუვი ანიმაცია
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. კლასიკური ანიმაციური გადასვლები რვა წინასწარ დაყენებული პარამეტრით და ფორმის გარდაქმნით.
diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv
index d0307707..7563d160 100644
--- a/crates/ui-egui/src/i18n/pl.tsv
+++ b/crates/ui-egui/src/i18n/pl.tsv
@@ -439,10 +439,3 @@ materialcraft Preview materials in 2D and on 3D models. Przeglądaj materiały w
Migrate Flatpak bundles to ArtCraft OCI (experimental) Przenoś pakiety Flatpak do ArtCraft OCI (eksperymentalne)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. Podczas aktualizacji przenoś aplikacje ArtCraft, gdy dostępny jest odpowiedni pakiet. W przeciwnym razie nadal używaj samodzielnych pakietów.
The OCI repository is a preview with GPG verification disabled. Repozytorium OCI jest wersją testową z wyłączoną weryfikacją GPG.
-anicraft 2D vector animation Animacja wektorowa 2D
-anicraft Vector animation on a timeline you know. Animacja wektorowa na znanej osi czasu.
-anicraft Open-source 2D vector animation, built in pure Rust. Animacja wektorowa 2D open source, stworzona w czystym Rust.
-anicraft Familiar by design Znany i intuicyjny interfejs
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. Scena, narzędzia, oś czasu, warstwy, klatki kluczowe, Właściwości i Biblioteka znajdują się tam, gdzie oczekują animatorzy, wraz z łuskami cebuli.
-anicraft Tweens that ease Płynne klatki pośrednie (tweens)
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. Klasyczne animacje klatek pośrednich z ośmioma profilami dynamiki i własnymi krzywymi oraz przejścia kształtu.
diff --git a/crates/ui-egui/src/i18n/pt-BR.tsv b/crates/ui-egui/src/i18n/pt-BR.tsv
index d50365ba..0634bb26 100644
--- a/crates/ui-egui/src/i18n/pt-BR.tsv
+++ b/crates/ui-egui/src/i18n/pt-BR.tsv
@@ -425,10 +425,3 @@ materialcraft Preview materials in 2D and on 3D models. Visualize materiais em 2
Migrate Flatpak bundles to ArtCraft OCI (experimental) Migrar pacotes Flatpak para ArtCraft OCI (experimental)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. Ao atualizar, migrar os aplicativos da ArtCraft quando o pacote correspondente estiver disponível. Caso contrário, continuar usando pacotes independentes.
The OCI repository is a preview with GPG verification disabled. O repositório OCI é uma prévia com a verificação GPG desativada.
-anicraft 2D vector animation Animação vetorial 2D
-anicraft Vector animation on a timeline you know. Animação vetorial em uma linha do tempo familiar.
-anicraft Open-source 2D vector animation, built in pure Rust. Animação vetorial 2D de código aberto, criada em Rust puro.
-anicraft Familiar by design Design familiar
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. Palco, ferramentas, linha do tempo, camadas, quadros-chave, Propriedades e Biblioteca onde os animadores esperam, com papel vegetal.
-anicraft Tweens that ease Interpolações suaves
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. Interpolações clássicas com oito predefinições de suavização e curvas personalizadas, além de interpolação de forma.
diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv
index cb2c5c30..a061c4c5 100644
--- a/crates/ui-egui/src/i18n/ru.tsv
+++ b/crates/ui-egui/src/i18n/ru.tsv
@@ -433,10 +433,3 @@ materialcraft Preview materials in 2D and on 3D models. Просматривай
Migrate Flatpak bundles to ArtCraft OCI (experimental) Переводить пакеты Flatpak на ArtCraft OCI (экспериментально)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. При обновлении переводить приложения ArtCraft на репозиторий, если доступен соответствующий пакет. Иначе продолжать использовать отдельные пакеты.
The OCI repository is a preview with GPG verification disabled. Репозиторий OCI работает в предварительном режиме с отключённой проверкой GPG.
-anicraft 2D vector animation 2D-векторная анимация
-anicraft Vector animation on a timeline you know. Векторная анимация на привычной временной шкале.
-anicraft Open-source 2D vector animation, built in pure Rust. 2D-векторная анимация с открытым исходным кодом на чистом Rust.
-anicraft Familiar by design Привычный интерфейс
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. Сцена, инструменты, шкала времени, слои, ключевые кадры, Свойства и Библиотека там, где их ждут аниматоры, со шлейфом калькирования.
-anicraft Tweens that ease Плавные твины
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. Классические твины с восемью пресетами замедления и кривыми, а также твины формы.
diff --git a/crates/ui-egui/src/i18n/zh-CN.tsv b/crates/ui-egui/src/i18n/zh-CN.tsv
index 45587c51..a7cfc7e9 100644
--- a/crates/ui-egui/src/i18n/zh-CN.tsv
+++ b/crates/ui-egui/src/i18n/zh-CN.tsv
@@ -405,10 +405,3 @@ materialcraft Preview materials in 2D and on 3D models. 在二维视图和三维
Migrate Flatpak bundles to ArtCraft OCI (experimental) 将 Flatpak 软件包迁移到 ArtCraft OCI(实验性)
On update, switch first party apps when the matching package is available. Otherwise, keep using bundles. 更新时,如果有对应的软件包,则迁移 ArtCraft 官方应用;否则继续使用独立软件包。
The OCI repository is a preview with GPG verification disabled. OCI 仓库目前处于预览阶段,GPG 验证已禁用。
-anicraft 2D vector animation 二维矢量动画
-anicraft Vector animation on a timeline you know. 在你熟悉的时间线上制作矢量动画。
-anicraft Open-source 2D vector animation, built in pure Rust. 纯 Rust 构建的开源二维矢量动画。
-anicraft Familiar by design 布局熟悉自然
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. 舞台、工具、时间线、图层、关键帧、“属性”和“库”均位于动画师熟悉的直观位置,并配有洋葱皮功能。
-anicraft Tweens that ease 流畅补间缓动
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. 经典补间具备八种缓动预设与自定义曲线,外加将一种矢量轮廓变换为另一种的形状补间。
diff --git a/crates/ui-egui/src/i18n/zh-TW.tsv b/crates/ui-egui/src/i18n/zh-TW.tsv
index b62d689a..40837c59 100644
--- a/crates/ui-egui/src/i18n/zh-TW.tsv
+++ b/crates/ui-egui/src/i18n/zh-TW.tsv
@@ -396,10 +396,3 @@ materialcraft Combine noises, patterns and filters. 組合雜訊、圖樣與濾
materialcraft Live previews 即時預覽
materialcraft Preview materials in 2D and on 3D models. 在 2D 與 3D 模型上預覽材質。
Download size: {size} 下載大小:{size}
-anicraft 2D vector animation 二維向量動畫
-anicraft Vector animation on a timeline you know. 在您熟悉的時間軸上製作向量動畫。
-anicraft Open-source 2D vector animation, built in pure Rust. 純 Rust 建構的開源二維向量動畫。
-anicraft Familiar by design 設計直觀熟悉
-anicraft Stage, tools, timeline, layers, keyframes, Properties and Library sit where animators expect them, with onion skinning for in-betweening. 舞台、工具、時間軸、圖層、關鍵影格、「屬性」與「元件庫」皆位於動畫師熟悉的位置,並具備洋蔥皮功能。
-anicraft Tweens that ease 平滑補間緩動
-anicraft Classic tweens with eight easing presets and custom ease curves, plus shape tweens that morph one vector contour into another. 傳統補間具備八種緩動預設與自訂曲線,並支援變換向量外框的形狀補間。
diff --git a/packaging/windows/package.ps1 b/packaging/windows/package.ps1
index 9d813918..d2a18e27 100644
--- a/packaging/windows/package.ps1
+++ b/packaging/windows/package.ps1
@@ -113,7 +113,7 @@ function New-InstallerArt([string] $BannerOut, [string] $DialogOut) {
$line = [System.Drawing.Color]::FromArgb(38, 242, 241, 238)
# The Craft App Suite, in the launcher's order (crates/core/src/catalog.rs).
$apps = 'photocraft', 'vectorcraft', 'filmcraft', 'lightcraft', 'pdfcraft', 'effectcraft',
- 'anicraft', 'designcraft', 'figcraft', 'wordcraft', 'soundcraft', 'deckcraft', 'cadcraft', 'gridcraft', 'craft-anything', 'texturecraft', 'materialcraft'
+ 'designcraft', 'figcraft', 'wordcraft', 'soundcraft', 'deckcraft', 'cadcraft', 'gridcraft', 'craft-anything', 'texturecraft', 'materialcraft'
$mark = [System.Drawing.Image]::FromFile((Join-Path $Root 'assets\app-icon\hicolor\256x256\apps\ai.storyteller.artcraft-launcher.png'))
$wordmark = [System.Drawing.Image]::FromFile((Join-Path $Root 'docs\brand\artcraft-logo-white.png'))
$icons = $apps | ForEach-Object { [System.Drawing.Image]::FromFile((Join-Path $Root "assets\app-icons\$_.png")) }
@@ -150,7 +150,7 @@ function New-InstallerArt([string] $BannerOut, [string] $DialogOut) {
$x += $g.MeasureString([string]$ch, $labelFont, 100, [System.Drawing.StringFormat]::GenericTypographic).Width + 1.35
}
$brush.Dispose()
- # The seventeen apps in four columns of 30 px cells: x=22..142, y=118..268.
+ # The sixteen apps in four columns of 30 px cells: x=22..142, y=118..238.
$pen = New-Object System.Drawing.Pen $line, 1
$left = 22; $top = 118; $cell = 30; $columns = 4
for ($i = 0; $i -lt $icons.Count; $i++) {
diff --git a/xtask/src/local.rs b/xtask/src/local.rs
index 14304ca5..18ead311 100644
--- a/xtask/src/local.rs
+++ b/xtask/src/local.rs
@@ -35,7 +35,6 @@ const APPS: &[(&str, &str)] = &[
("craft-anything", "Craft Anything"),
("texturecraft", "TextureCraft"),
("materialcraft", "MaterialCraft"),
- ("anicraft", "AniCraft"),
];
const DEFAULT_PORT: u16 = 8787;
@@ -273,32 +272,20 @@ fn sync_one(o: &Opts, id: &str, name: &str) -> Result {
/// This OS's packaging script for the checkout at `repo`.
fn package_command(repo: &Path, o: &Opts) -> Result {
- let script = if cfg!(target_os = "macos") {
- repo.join("packaging/macos/package.sh")
- } else if cfg!(target_os = "linux") || cfg!(target_os = "freebsd") {
- let os = if cfg!(target_os = "linux") { "linux" } else { "freebsd" };
- repo.join(format!("packaging/{os}/package.sh"))
- } else if cfg!(windows) {
- repo.join("packaging/windows/package.ps1")
- } else {
- return Err("no packaging script for this OS".into());
- };
- if !script.is_file() {
- return Err(format!("no packaging script found at {}", script.display()));
- }
let mut cmd = if cfg!(target_os = "macos") {
let mut c = Command::new("bash");
- c.arg(&script);
+ c.arg(repo.join("packaging/macos/package.sh"));
let arch = o.arch.clone().unwrap_or_else(|| if cfg!(target_arch = "aarch64") { "aarch64".into() } else { "x86_64".into() });
c.args(["--arch", &arch]);
c
} else if cfg!(target_os = "linux") || cfg!(target_os = "freebsd") {
+ let os = if cfg!(target_os = "linux") { "linux" } else { "freebsd" };
let mut c = Command::new("bash");
- c.arg(&script);
+ c.arg(repo.join(format!("packaging/{os}/package.sh")));
c
} else if cfg!(windows) {
let mut c = Command::new("powershell");
- c.args(["-NoProfile", "-ExecutionPolicy", "Bypass", "-File"]).arg(&script);
+ c.args(["-NoProfile", "-ExecutionPolicy", "Bypass", "-File"]).arg(repo.join("packaging/windows/package.ps1"));
c
} else {
return Err("no packaging script for this OS".into());