Skip to content

Commit

Permalink
Merge branch 'main' into apply_blur
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdenasser authored Nov 13, 2024
2 parents 47276db + 6727c61 commit 8f46808
Show file tree
Hide file tree
Showing 47 changed files with 2,331 additions and 1,920 deletions.
19 changes: 2 additions & 17 deletions src/lib/components/AppInfo.svelte
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
<script lang="ts">
import { getVersion } from "@tauri-apps/api/app";
import { onMount } from "svelte";
import ThemeSwitcher from "./ThemeSwitcher.svelte";
import { ThemeSwitcher } from "$lib/components";
import { faInfo } from "@fortawesome/free-solid-svg-icons";
import Fa from "svelte-fa";
import { ASCII_ART, APP_INFO } from "$lib/constants";
let version = "";
let latestVersion = "";
let showInfo = false;
let hasUpdate = false;
const ASCII_ART = `
███╗ ██╗███████╗ ██████╗ ██╗ ██╗████████╗ ██████╗ ██████╗
████╗ ██║██╔════╝██╔═══██╗██║ ██║╚══██╔══╝██╔═══██╗██╔══██╗
██╔██╗ ██║█████╗ ██║ ██║███████║ ██║ ██║ ██║██████╔╝
██║╚██╗██║██╔══╝ ██║ ██║██╔══██║ ██║ ██║ ██║██╔═══╝
██║ ╚████║███████╗╚██████╔╝██║ ██║ ██║ ╚██████╔╝██║
╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝
`;
const APP_INFO = {
name: "NeoHtop",
developer: "Abdenasser",
github: "https://github.com/Abdenasser/neohtop",
stack: ["Tauri", "Rust", "Svelte", "TypeScript"],
};
async function checkLatestVersion() {
try {
const response = await fetch(
Expand Down
Loading

0 comments on commit 8f46808

Please sign in to comment.