Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CmdLinePackageHmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""
@title CmdLinePackageHmi
@description This python script takes in command line arguments
and packages a webHMI-based HMI
and packages a Loupe UX-based HMI

0.1.0 - Synchronize all script versions
0.0.1 - Initial release
Expand All @@ -33,7 +33,7 @@
def main():

# Parse arguments from the command line
parser = argparse.ArgumentParser(description='Package up a webHMI-based HMI')
parser = argparse.ArgumentParser(description='Package up a Loupe UX-based HMI')
# High-level application information.
parser.add_argument('-s', '--source', type=str, help='Source folder where the HMI files are located (i.e. where main package.json is located)', default='C:/Projects/Publisher/Project/HMIApp/Electron')
parser.add_argument('-o', '--output', type=str, help='Destination folder where packaged files are placed')
Expand Down
2 changes: 1 addition & 1 deletion Files/InnoInstaller.iss
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Type: filesandordirs; Name: "{app}"
#if IncludeHmi == "yes"

[Components]
Name: "HMI"; Description: "webHMI user interface"; Types: full custom;
Name: "HMI"; Description: "Loupe UX user interface"; Types: full custom;

[Files]
Source: {#HMIDirectory}\*; DestDir: "{app}\HMI"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: HMI;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The core capabilities live in the [ASTools](./ASTools.py) script, which contains
- [CmdLineExportLib.py](CmdLineExportLib.py): export Automation Studio libraries into shareable binary or source formats.
- [CmdLineGetSafetyCrc.py](CmdLineGetSafetyCrc.py): retrieve the CRC of the specified B&R Safe Application in a project.
- [CmdLineGetVersion.py](CmdLineGetVersion.py): retrieve the build version of an AS project.
- [CmdLinePackageHmi.py](CmdLinePackageHmi.py): package a webHMI-based HMI for distribution.
- [CmdLinePackageHmi.py](CmdLinePackageHmi.py): package a Loupe UX-based HMI for distribution.
- [CmdLineRunUnitTests.py](CmdLineRunUnitTests.py): run the unit tests that are defined in the Automation Studio project. Note that this wrapper uses the [UnitTestTools.py](UnitTestTools.py) backend script.

For a more detailed look at each script's API, please call the script with the `-h` argument. For example, `python CmdLineBuild.py -h`.
Expand Down