From 7b11c27ffc11759529aa520d0e669cacc7eeb480 Mon Sep 17 00:00:00 2001
From: Lap <74074061+ItsLap@users.noreply.github.com>
Date: Sun, 18 Feb 2024 21:59:05 +0000
Subject: [PATCH] thats-the.name app
---
pkgs/zeon/thats-the.name/app.js | 34 ++++++++++++++++++++++
pkgs/zeon/thats-the.name/assets/icon.svg | 5 ++++
pkgs/zeon/thats-the.name/meta.json5 | 37 ++++++++++++++++++++++++
3 files changed, 76 insertions(+)
create mode 100644 pkgs/zeon/thats-the.name/app.js
create mode 100644 pkgs/zeon/thats-the.name/assets/icon.svg
create mode 100644 pkgs/zeon/thats-the.name/meta.json5
diff --git a/pkgs/zeon/thats-the.name/app.js b/pkgs/zeon/thats-the.name/app.js
new file mode 100644
index 0000000..ff4edab
--- /dev/null
+++ b/pkgs/zeon/thats-the.name/app.js
@@ -0,0 +1,34 @@
+export default {
+ name: "thats-the.name",
+ description: "a simple static website hosting platform.",
+ ver: 1.5,
+ type: "process",
+ exec: async function (Root) {
+ let wrapper; // Lib.html | undefined
+ let MyWindow;
+
+ console.log("Hello from example package", Root.Lib);
+
+ Root.Lib.setOnEnd((_) => MyWindow.close());
+
+ const Win = (await Root.Lib.loadLibrary("WindowSystem")).win;
+
+ MyWindow = new Win({
+ title: "thats-the.name",
+ content: '',
+ pid: Root.PID,
+ width: 800,
+ height: 600,
+ onclose: () => {
+ Root.Lib.onEnd();
+ },
+ });
+
+ wrapper = MyWindow.window.querySelector(".win-content");
+ wrapper.style.padding = "0px";
+
+ return Root.Lib.setupReturns((m) => {
+ /* This app has no message functionality... */
+ });
+ },
+};
diff --git a/pkgs/zeon/thats-the.name/assets/icon.svg b/pkgs/zeon/thats-the.name/assets/icon.svg
new file mode 100644
index 0000000..2eb3db2
--- /dev/null
+++ b/pkgs/zeon/thats-the.name/assets/icon.svg
@@ -0,0 +1,5 @@
+
diff --git a/pkgs/zeon/thats-the.name/meta.json5 b/pkgs/zeon/thats-the.name/meta.json5
new file mode 100644
index 0000000..0081671
--- /dev/null
+++ b/pkgs/zeon/thats-the.name/meta.json5
@@ -0,0 +1,37 @@
+// An example metadata file for an application
+{
+ // Name for your application
+ name: "thats-the.name",
+ // A simple description for your application
+ shortDescription: "A simple website hosting service.",
+ // Description for your application
+ description: "yep! that's the name, a simple static website hosting service for people who want to host a website, but don't want to pay for a domain name. we'll give you a subdomain, and you can host your website on our servers. it's that simple!",
+ // Who created this app? Should be the same as the folder name, or a localized string version.
+ author: "Zeon",
+ // The catergory of your app. Should be one of the following:
+ // "Entertainment", "Work", "Play"
+ category: "Work",
+ // The minimum core version your app is compatible with.
+ compatibleWith: 1.5,
+ // App assets (shown in the app store)
+ assets: {
+ path: "app.js",
+ icon: "assets/icon.svg",
+ banner: null,
+ },
+ // The version history of your app (descending).
+ versions: [
+ {
+ ver: "1.0.0",
+ cmp: 1.0,
+ date: "2023-02-18T22:15:53.000Z",
+ },
+ ],
+ // A long description (text only) of the details of the latest update.
+ localization: {
+ en_US: {
+ name: "thats-the.name",
+ description: "yep! that's the name, a simple static website hosting service for people who want to host a website, but don't want to pay for a domain name. we'll give you a subdomain, and you can host your website on our servers. it's that simple!",
+ },
+ },
+}