mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-08-31 11:17:27 +00:00
feat: change "raycast" to "flare" in ui
This commit is contained in:
parent
956e907bd6
commit
1c429538eb
7 changed files with 22 additions and 26 deletions
|
@ -30,7 +30,7 @@ export const environment = {
|
|||
extensionName: 'my-extension',
|
||||
isDevelopment: true,
|
||||
launchType: LaunchType.UserInitiated,
|
||||
ownerOrAuthorName: 'Raycast',
|
||||
ownerOrAuthorName: 'Flare',
|
||||
raycastVersion: '1.0.0',
|
||||
supportPath: supportPath,
|
||||
textSize: 'medium' as const,
|
||||
|
|
|
@ -10,7 +10,7 @@ use std::fs;
|
|||
use std::path::{Path, PathBuf};
|
||||
use tauri::{AppHandle, Emitter, Manager, State};
|
||||
|
||||
const AI_KEYRING_SERVICE: &str = "dev.byteatatime.raycast.ai";
|
||||
const AI_KEYRING_SERVICE: &str = "dev.byteatatime.flare.ai";
|
||||
const AI_KEYRING_USERNAME: &str = "openrouter_api_key";
|
||||
const AI_USAGE_SCHEMA: &str = "CREATE TABLE IF NOT EXISTS ai_generations (
|
||||
id TEXT PRIMARY KEY,
|
||||
|
|
|
@ -2,7 +2,7 @@ use crate::error::AppError;
|
|||
use aes_gcm::aead::{Aead, KeyInit};
|
||||
use aes_gcm::{Aes256Gcm, Nonce};
|
||||
|
||||
const KEYRING_SERVICE: &str = "dev.byteatatime.raycast";
|
||||
const KEYRING_SERVICE: &str = "dev.byteatatime.flare";
|
||||
const KEYRING_USERNAME: &str = "clipboard_history_key";
|
||||
|
||||
fn get_encryption_key_impl(entry: &keyring::Entry) -> Result<[u8; 32], AppError> {
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
<div class="space-y-2">
|
||||
<h3 class="text-lg font-medium">Model Associations</h3>
|
||||
<p class="text-muted-foreground text-sm">
|
||||
Associate Raycast AI models with specific models available through OpenRouter.
|
||||
Associate internal model identifiers with specific models available through OpenRouter.
|
||||
</p>
|
||||
<div class="grid grid-cols-[auto_1fr] items-center gap-4">
|
||||
{#each Object.entries(modelAssociations) as [raycastModel, openRouterModel] (raycastModel)}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
Request to open {plugin.title}
|
||||
</AlertDialog.Title>
|
||||
<AlertDialog.Description class="text-center text-sm">
|
||||
The command was triggered from outside of Raycast. If you did not do this, please cancel the
|
||||
The command was triggered from outside of Flare. If you did not do this, please cancel the
|
||||
operation.
|
||||
</AlertDialog.Description>
|
||||
</AlertDialog.Header>
|
||||
|
|
|
@ -106,12 +106,8 @@
|
|||
<ActionBar {actions}>
|
||||
{#snippet title()}
|
||||
<div class="pl-1">
|
||||
<img src={positiveRaycastLogo} alt="Raycast" class="size-5 brightness-50 dark:hidden" />
|
||||
<img
|
||||
src={negativeRaycastLogo}
|
||||
alt="Raycast"
|
||||
class="hidden size-5 brightness-50 dark:block"
|
||||
/>
|
||||
<img src={positiveRaycastLogo} alt="Flare" class="size-5 brightness-50 dark:hidden" />
|
||||
<img src={negativeRaycastLogo} alt="Flare" class="hidden size-5 brightness-50 dark:block" />
|
||||
</div>
|
||||
{/snippet}
|
||||
</ActionBar>
|
||||
|
|
|
@ -29,27 +29,27 @@
|
|||
const storePlugin: PluginInfo = {
|
||||
title: 'Store',
|
||||
description: 'Browse and install new extensions from the Store',
|
||||
pluginTitle: 'Raycast',
|
||||
pluginName: 'raycast',
|
||||
pluginTitle: 'Flare',
|
||||
pluginName: 'flare',
|
||||
commandName: 'store',
|
||||
pluginPath: 'builtin:store',
|
||||
icon: storeCommandIcon,
|
||||
preferences: [],
|
||||
mode: 'view',
|
||||
owner: 'raycast'
|
||||
owner: 'flare'
|
||||
};
|
||||
|
||||
const clipboardHistoryPlugin: PluginInfo = {
|
||||
title: 'Clipboard History',
|
||||
description: 'View, search, and manage your clipboard history',
|
||||
pluginTitle: 'Raycast',
|
||||
pluginTitle: 'Flare',
|
||||
pluginName: 'clipboard-history',
|
||||
commandName: 'clipboard-history',
|
||||
pluginPath: 'builtin:history',
|
||||
icon: clipboardHistoryCommandIcon,
|
||||
preferences: [],
|
||||
mode: 'view',
|
||||
owner: 'raycast'
|
||||
owner: 'flare'
|
||||
};
|
||||
|
||||
const searchSnippetsPlugin: PluginInfo = {
|
||||
|
@ -62,59 +62,59 @@
|
|||
icon: snippetIcon,
|
||||
preferences: [],
|
||||
mode: 'view',
|
||||
owner: 'raycast'
|
||||
owner: 'flare'
|
||||
};
|
||||
|
||||
const createQuicklinkPlugin: PluginInfo = {
|
||||
title: 'Create Quicklink',
|
||||
description: 'Create a new Quicklink',
|
||||
pluginTitle: 'Raycast',
|
||||
pluginName: 'raycast',
|
||||
pluginTitle: 'Flare',
|
||||
pluginName: 'flare',
|
||||
commandName: 'create-quicklink',
|
||||
pluginPath: 'builtin:create-quicklink',
|
||||
icon: quicklinkIcon,
|
||||
preferences: [],
|
||||
mode: 'view',
|
||||
owner: 'raycast'
|
||||
owner: 'flare'
|
||||
};
|
||||
|
||||
const createSnippetPlugin: PluginInfo = {
|
||||
title: 'Create Snippet',
|
||||
description: 'Create a new snippet',
|
||||
pluginTitle: 'Raycast',
|
||||
pluginTitle: 'Flare',
|
||||
pluginName: 'snippets',
|
||||
commandName: 'create-snippet',
|
||||
pluginPath: 'builtin:create-snippet',
|
||||
icon: snippetIcon,
|
||||
preferences: [],
|
||||
mode: 'view',
|
||||
owner: 'raycast'
|
||||
owner: 'flare'
|
||||
};
|
||||
|
||||
const importSnippetsPlugin: PluginInfo = {
|
||||
title: 'Import Snippets',
|
||||
description: 'Import snippets from a JSON file',
|
||||
pluginTitle: 'Raycast',
|
||||
pluginTitle: 'Flare',
|
||||
pluginName: 'snippets',
|
||||
commandName: 'import-snippets',
|
||||
pluginPath: 'builtin:import-snippets',
|
||||
icon: snippetIcon,
|
||||
preferences: [],
|
||||
mode: 'view',
|
||||
owner: 'raycast'
|
||||
owner: 'flare'
|
||||
};
|
||||
|
||||
const fileSearchPlugin: PluginInfo = {
|
||||
title: 'Search Files',
|
||||
description: 'Find files and folders on your computer',
|
||||
pluginTitle: 'Raycast',
|
||||
pluginTitle: 'Flare',
|
||||
pluginName: 'file-search',
|
||||
commandName: 'search-files',
|
||||
pluginPath: 'builtin:file-search',
|
||||
icon: fileSearchCommandIcon,
|
||||
preferences: [],
|
||||
mode: 'view',
|
||||
owner: 'raycast'
|
||||
owner: 'flare'
|
||||
};
|
||||
|
||||
const { pluginList, currentPreferences } = $derived(uiStore);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue