apps
2023.10
false
- Getting Started
- Before You Begin
- How To
- Build Your First App
- Build a Mobile-friendly App
- Embed Apps
- Embed Maps
- General User Experience Guidelines
- Hide Containers Using a Button
- Include Excel Charts in Apps
- Include MailTo Links
- Include Star Ratings
- Use Count With Choice Set Values
- Use Document Viewer
- Use Master Detail View
- Use Selected Values From a Table
- Use the Send Interim Result Activity
- Set External Context
- Work With Data Source and Value Bind
- Notifications
- Designing your App
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- Rule: Show Message
- Rule: Show/Hide Spinner
- Rule: Set Values
- Rule: Start Process
- Rule: Upload File to Storage Bucket
- Rule: Get File From Storage Bucket
- Rule: Reset Values
- Rule: Create/Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Function: And, Or, Not
- Function: Concat
- Function: Contains
- Function: Count
- Function: EndsWith
- Function: If
- Function: IsBlank
- Function: Guid
- Function: Length
- Function: List
- Function: StartsWith
- Function: Sum
- Function: Sort
- Function: Now
- Function: Today
- Function: Time
- Function: Year
- Function: Month
- Function: Day
- Function: Hour
- Function: Minute
- Function: New
- Function: Lookup
- Function: Filter
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Application Lifecycle Management (ALM)
- General Settings
- Permission Management
- Managing App Versions
- Packaging an App as a Client
- Basic Troubleshooting Guide
Packaging an App as a Client
LEGACY
Legacy Apps User Guide for Automation Suite
Last updated Nov 11, 2024
Packaging an App as a Client
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.
-
Download the UiPath® Apps Client Sample from GitHub and copy the files to a local directory, i.e.
C:\UiPathAppSample
. -
Modify the sample to meet your needs. Here are some of the key modifications:
-
icon.png - replace this with any icon you wish.
Note: It is best if the icon is square. - main.js
- RUNTIME_URL (line 7) - change this to point to the production URL of your App
- Window Parameters (lines 18-27) - change these parameters to meet the needs of your app
- package.json
- displayName (line 3) - this will be used as the EXE name of your app
-
- Open a command prompt and navigate to the directory containing the files.
- Run
npm install
to install the node packages needed to build the app. - Run
npm run start
to open the app as a window client (this is good for testing the app). -
Run
npm run dist
to build the app and package it with a Setup file. This will result in an EXE in the dist subdirectory (i.e.dist\UiPath® Apps sample Setup 1.2.0.exe
) which can be distributed to your users.