aboutsummaryrefslogtreecommitdiffstats
path: root/main-repo/helloworld
diff options
context:
space:
mode:
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;