Apps (アプリ)
最新
バナーの背景画像
Apps ユーザー ガイド
最終更新日 2024年4月26日

アプリをクライアントとしてパッケージ化する

UiPath® Apps are designed to be run in the browser but you can create a Windows executable to run them as well. To run a UiPath® App as a Windows client executable, simply create an Electron wrapper that points to the production URL of an app. We've created a sample below to make this easy for you to use.

Creating a Windows Executable for a UiPath® App

  1. Download the UiPath® Apps Client Sample from GitHub and copy the files to a local directory, i.e. C:\UiPathAppSample.

    ダウンロード ページ: https://github.com/UiPath/AppsClientSample

  2. 必要に応じてサンプルを変更します。主な変更箇所は以下のとおりです。

    • icon.png - 任意のアイコンに置き換えます。

      注: アイコンの形は正方形が最適です。
    • main.js
    • RUNTIME_URL (行 7) - お使いのアプリの運用 URL をポイントするように変更します。
    • Window Parameters (行 18 から 27) - お使いのアプリのニーズに合うように変更します。
    • package.json
    • displayName (行 3) - アプリの EXE 名として使用されます。
  3. コマンド プロンプトを開き、ファイルを含むディレクトリに移動します。
  4. npm install」を実行し、アプリの構築に必要なノード パッケージをインストールします。
  5. npm run start」を実行してアプリをウィンドウ クライアントとして開きます (これはアプリのテストに適しています)。
  6. npm run dist」を実行してアプリを構築し、セットアップ ファイル付きでパッケージ化します。この結果、EXE が dist サブディレクトリに作成されます (例: dist\UiPath® Apps sample Setup 1.2.0.exe)。このファイルはユーザーに配布できます。
  • Creating a Windows Executable for a UiPath® App

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.