Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)48k · #5146

makepad-deployment

Skill này làm gì

Công cụ này giúp biến ứng dụng Makepad thành chương trình mà người khác có thể cài đặt và dùng trên máy tính, điện thoại hoặc web. Nó tạo gói cài đặt cho các hệ thống như Windows, macOS, Linux, Android và iOS.

Khi nào nên dùng

  • ✓Khi bạn muốn phân phối ứng dụng cho người khác.
  • ✓Khi bạn chuẩn bị ứng dụng để đưa lên các cửa hàng như Google Play hoặc Apple App Store.
  • ✓Khi bạn muốn tự động tạo các phiên bản ứng dụng bằng dịch vụ trực tuyến.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/makepad-deployment/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/makepad-deployment/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm sao để biến ứng dụng Makepad của tôi thành trình cài đặt cho Windows?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng các lệnh cụ thể (`cargo-packager` và `cargo-makepad`) để gom tất cả file ứng dụng thành gói cuối cùng. Nó cũng có thể tự động hóa quy trình này trên các dịch vụ trực tuyến.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

  • <support-root>/references/makepad-packaging-action.md
  • ./assets/icon.png
  • ./dist/resources/makepad_widgets
  • ./dist/resources/makepad_fonts_chinese_bold
  • ./dist/resources/makepad_fonts_chinese_bold_2
  • ./dist/resources/makepad_fonts_chinese_regular
  • ./dist/resources/makepad_fonts_chinese_regular_2
  • ./dist/resources/makepad_fonts_emoji
  • ./dist/resources/your_app_resource
  • ./dist/resources/my-makepad-app
  • <support-root>/references/platform-troubleshooting.md

Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.

Makepad Packaging & Deployment

This skill covers packaging Makepad applications for all supported platforms.

When to Use

  • You need to package, distribute, or automate deployment of a Makepad application.
  • The task involves desktop installers, APK/IPA builds, WebAssembly output, or CI-based release artifacts.
  • You need guidance on cargo-packager, cargo-makepad, or GitHub Actions packaging flows for Makepad.

Quick Navigation

Platform Tool Output
Desktop cargo-packager .deb, .nsis, .dmg
Android cargo-makepad .apk
iOS cargo-makepad .app, .ipa
Web cargo-makepad Wasm + HTML/JS
CI/CD makepad-packaging-action GitHub Release assets

GitHub Actions Packaging

Use makepad-packaging-action to package Makepad apps in CI. It wraps cargo-packager (desktop) and cargo-makepad (mobile), and can upload artifacts to GitHub Releases.

jobs:
  package:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
      - uses: Project-Robius-China/makepad-packaging-action@v1
        with:
          args: --target x86_64-unknown-linux-gnu --release

Notes:

  • Desktop packages must run on matching OS runners (Linux/Windows/macOS).
  • iOS builds require macOS runners.
  • Android builds can run on any OS runner.

Full inputs/env/outputs and release workflows live in references/makepad-packaging-action.md.

Desktop Packaging

Desktop packaging uses cargo-packager with robius-packaging-commands for resource handling.

Install Tools

# Install cargo-packager
cargo install cargo-packager --locked

# Install robius-packaging-commands (v0.2.1)
cargo install --version 0.2.1 --locked \
    --git https://github.com/project-robius/robius-packaging-commands.git \
    robius-packaging-commands

Configure Cargo.toml

Add packaging configuration to your Cargo.toml:

[package.metadata.packager]
product_name = "YourAppName"
identifier = "com.yourcompany.yourapp"
authors = ["Your Name or Team"]
description = "A brief description of your Makepad application"
# Note: long_description has 80 character max per line
long_description = """
Your detailed description here.
Keep each line under 80 characters.
"""
icons = ["./assets/icon.png"]
out_dir = "./dist"

# Pre-packaging command to collect resources
before-packaging-command = """
robius-packaging-commands before-packaging \
    --force-makepad \
    --binary-name your-app \
    --path-to-binary ./target/release/your-app
"""

# Resources to include in package
resources = [
    # Makepad built-in resources (required)
    { src = "./dist/resources/makepad_widgets", target = "makepad_widgets" },
    { src = "./dist/resources/makepad_fonts_chinese_bold", target = "makepad_fonts_chinese_bold" },
    { src = "./dist/resources/makepad_fonts_chinese_bold_2", target = "makepad_fonts_chinese_bold_2" },
    { src = "./dist/resources/makepad_fonts_chinese_regular", target = "makepad_fonts_chinese_regular" },

…
Câu hỏi thường gặp

“Resources” là gì?

“Resources” (tài nguyên) là các file bổ sung mà ứng dụng cần để chạy, như hình ảnh, phông chữ hoặc dữ liệu khác. Công cụ đảm bảo chúng được đưa vào gói cuối cùng.

Bạn có cần cài đặt gì trước không?

Có, bạn cần cài các công cụ như `cargo-packager` và `robius-packaging-commands` trên máy tính, tùy loại gói bạn muốn tạo.

“CI” là gì?

CI là viết tắt của 'Continuous Integration' (tích hợp liên tục). Đây là quy trình tự động thường xuyên kiểm thử và chuẩn bị mã. Công cụ này có thể dùng trong đó để tự động build gói ứng dụng.

Chi tiết

Mô tả gốc của tác giả

CRITICAL: Use for Makepad packaging and deployment. Triggers on: deploy, package, APK, IPA, 打包, 部署, cargo-packager, cargo-makepad, WASM, Android, iOS, distribution, installer, .deb, .dmg, .nsis, GitHub Actions, CI, action, marketplace

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5146
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự