aboutsummaryrefslogtreecommitdiffstats
path: root/main-repo/helloworld
diff options
context:
space:
mode:
authorUnknown2018-04-02 14:08:43 +0100
committerUnknown2018-04-02 14:08:43 +0100
commitae2c5fe141a11e598032d1b3ac26aafc4d961799 (patch)
tree2557e1b4b9da2fab3df4c1df9c418272217e1ce7 /main-repo/helloworld
parent484a85333c029a80935fe4b1a6b65e7c18e58a71 (diff)
add documentation and main repo
Diffstat (limited to 'main-repo/helloworld')
-rw-r--r--main-repo/helloworld/helloworld.js8
-rw-r--r--main-repo/helloworld/package.json5
-rw-r--r--main-repo/helloworld/uninstall.js1
3 files changed, 14 insertions, 0 deletions
diff --git a/main-repo/helloworld/helloworld.js b/main-repo/helloworld/helloworld.js
new file mode 100644
index 0000000..40cd8bd
--- /dev/null
+++ b/main-repo/helloworld/helloworld.js
@@ -0,0 +1,8 @@
+le._apps.helloworld = {
+ exec: function () {
+ $log("Hello, World!");
+ },
+ icon: "/c/sys/skins/w93/apps/terminal.png",
+ terminal: true,
+ hascli: true
+}
diff --git a/main-repo/helloworld/package.json b/main-repo/helloworld/package.json
new file mode 100644
index 0000000..f5c7625
--- /dev/null
+++ b/main-repo/helloworld/package.json
@@ -0,0 +1,5 @@
+{
+ "name": "helloworld",
+ "version": [1, 0, 0],
+ "inject": "helloworld.js"
+}
diff --git a/main-repo/helloworld/uninstall.js b/main-repo/helloworld/uninstall.js
new file mode 100644
index 0000000..43bc525
--- /dev/null
+++ b/main-repo/helloworld/uninstall.js
@@ -0,0 +1 @@
+le._apps.helloworld = null;