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