mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
fix package banner (#534)
This commit is contained in:
parent
ac67330636
commit
c021e6021e
3 changed files with 15 additions and 15 deletions
|
@ -124,14 +124,14 @@ const notifyPackageInstalled = (rawPkg: string, notifyMainWindow: MainWindowNoti
|
|||
export async function openPackageEntrypointInTerminal(pkg: string) {
|
||||
let sh = `${cliBinPath} --sync --env=false +${pkg} `;
|
||||
switch (pkg) {
|
||||
case "github.com/AUTOMATIC1111/stable-diffusion-webui":
|
||||
sh += `~/.tea/${pkg}/v*/entrypoint.sh`;
|
||||
break
|
||||
case "cointop.sh":
|
||||
sh += "cointop";
|
||||
break
|
||||
default:
|
||||
sh += "sh";
|
||||
case "github.com/AUTOMATIC1111/stable-diffusion-webui":
|
||||
sh += `~/.tea/${pkg}/v*/entrypoint.sh`;
|
||||
break;
|
||||
case "cointop.sh":
|
||||
sh += "cointop";
|
||||
break;
|
||||
default:
|
||||
sh += "sh";
|
||||
}
|
||||
|
||||
const scriptPath = await createCommandScriptFile(sh);
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
</figure>
|
||||
<article class="w-2/3 p-4 pt-8">
|
||||
<div class="align-center flex items-center gap-2">
|
||||
<h3 class="text-primary text-3xl">{fixPackageName(pkg.name)}</h3>
|
||||
<h3 class="text-primary font-mona text-3xl">{fixPackageName(pkg.name)}</h3>
|
||||
<ButtonIcon
|
||||
icon="pencil"
|
||||
helpText="edit package"
|
||||
|
@ -76,7 +76,7 @@
|
|||
/>
|
||||
<ButtonIcon icon="link" helpText="share package" on:click={copyPackagePantryLink} />
|
||||
{#if copied}
|
||||
<p class="text-green">copied!</p>
|
||||
<p class="text-primary">copied!</p>
|
||||
{/if}
|
||||
</div>
|
||||
{#if pkg.maintainer}
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
<div class="relative mt-20 flex-grow px-12">
|
||||
<h1 class="text-primary mb-4 text-4xl">tea, the open store</h1>
|
||||
<p class="font-inter mb-4">
|
||||
tea is your gateway to the vibrant world of open-source software;
|
||||
a treasure-trove of apps, frameworks, libraries, tools, utilities and games.
|
||||
previously only accessible to the tech-savvy, tea unleashes the power of open source for everyone.
|
||||
install packages, get updates and stay secure—all in the click of a button.
|
||||
under the hood is the invisible yet powerful tea/cli.
|
||||
tea is your gateway to the vibrant world of open-source software; a treasure-trove of
|
||||
apps, frameworks, libraries, tools, utilities and games. previously only accessible to the
|
||||
tech-savvy, tea unleashes the power of open source for everyone. install packages, get
|
||||
updates and stay secure—all in the click of a button. under the hood is the invisible yet
|
||||
powerful tea/cli.
|
||||
</p>
|
||||
|
||||
<Button type="plain" color="secondary" class="w-7/12" onClick={() => close()}>
|
||||
|
|
Loading…
Reference in a new issue