33## Overview
44
55The plugins and scripts for vmsACARS are written in Typescript, and then
6- transpiled to JS.
7- Typescript ensures that the interfaces required are following, and that the
8- proper things
9- are returned so ACARS can run them. While Typescript isn't required, it's best
10- to use it to
11- ensure proper values are passed - especially around enums.
6+ transpiled to JS. Typescript ensures that the interfaces required are following,
7+ and that the proper things are returned so ACARS can run them. While Typescript
8+ isn't required, it's best to use it to ensure proper values are passed - especially
9+ around enums.
1210
1311This PDK includes build scripts to:
1412
@@ -19,11 +17,30 @@ This PDK includes build scripts to:
1917
2018---
2119
20+ # The General Steps
21+
22+ First, fork this repository. Follow the setup below. Then start editing the
23+ scripts in the ` /src ` directory, depending on what you want to do. Then, you
24+ can distribute it to your pilots.
25+
26+ - Complete the setup, including the ` .env ` file
27+ - Disable downloading the latest updates
28+ - Run ` npm run dev ` to then test in ACARS
29+ - Run ` npm run dist ` to create the ZIP
30+ - Upload this zip somewhere
31+ - Update the phpVMS ACARS Admin to point to the above URL
32+ - ???
33+ - Profit!
34+
35+ ### Structure
36+
37+ All of the scripts are contained in the ` /src ` folder.
38+
2239# Setup
2340
2441## Required:
2542
26- - nodejs/npm
43+ - nodejs/npm or pnpm
2744- Typescript
2845- Gulp
2946
@@ -681,3 +698,9 @@ export default class MyScript implements CallbackHook {
681698 }
682699}
683700```
701+
702+ ### Sounds
703+
704+ Place your sounds (` mp3 ` or ` wav ` ) format in the ` src/sounds ` directory (create
705+ it if it doesn't exist). When you call ` Acars.PlayAudio ` , it will look in this
706+ directory for them.
0 commit comments