From 7faf6754a7aff9a38f252ea2281f1b590d1a601e Mon Sep 17 00:00:00 2001 From: Zac0511 Date: Mon, 17 Feb 2025 13:00:31 +0100 Subject: [PATCH] Remove all code related to Puter's UI The app is no longer a Puter app and is only a PWA, as the app were not really working on Puter, and there's better apps available on it. --- README.md | 2 +- account-settings.js | 9 --------- manifest.json | 7 ------- sitemap.xml | 2 +- 4 files changed, 2 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 99e9c6a..c20fde5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A PWA that allows you to easily talk to Puter's AI ![GitHub Release](https://img.shields.io/github/v/release/Zac0511/Puter-AI-PWA?label=latest%20version) ![GitHub repo size](https://img.shields.io/github/repo-size/Zac0511/Puter-AI-PWA) ![GitHub License](https://img.shields.io/github/license/Zac0511/Puter-AI-PWA) -[![cozy_64h](https://github.com/user-attachments/assets/b6f66a23-d565-4945-ac14-3742b5754b02)](https://puter.com/app/ai-chat) + Add to Chromebook diff --git a/account-settings.js b/account-settings.js index cf43ff3..87d0ad1 100644 --- a/account-settings.js +++ b/account-settings.js @@ -2,15 +2,6 @@ window.onload = function() { var userInfoDiv = document.getElementById("user-info"); var loginButton = document.getElementById("login-button"); var logoffButton = document.getElementById("logoff-button"); - var buttonContainer = document.querySelector(".button-container"); - var userInfo = document.querySelector(".user-info"); - - // Check value for "puter.env" to remove login/logout buttons and display a message - if (puter.env === "app") { - buttonContainer.innerHTML = "PWA is running in a Puter app, cannot manage account settings"; - userInfo.remove(); - return; - } // Updated button content and information text function updateUserInfo() { diff --git a/manifest.json b/manifest.json index acbd545..670d510 100644 --- a/manifest.json +++ b/manifest.json @@ -495,13 +495,6 @@ ], "id": "puter_ai", "scope": "https://zac0511.github.io/Puter-AI-PWA/", - "related_applications": [ - { - "platform": "webapp", - "url": "https://puter.com/app/ai-chat", - "id": "app-42bc620b-d341-4183-a755-8e5c5e0f9207" - } - ], "prefer_related_applications": false, "shortcuts": [ { diff --git a/sitemap.xml b/sitemap.xml index 5c7f848..c26c636 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,7 +2,7 @@ https://puter-ai.puter.site/index.html - 2024-01-22 + 2024-02-17 monthly 1.0