Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/createDeeplink.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { environment, LaunchProps, LaunchType } from "@raycast/api";
import fs from "node:fs";
import path from "node:path";
import process from "node:process";

export enum DeeplinkType {
/** A script command */
Expand Down Expand Up @@ -83,11 +84,7 @@ export type CreateExtensionDeeplinkOptions = CreateInterExtensionDeeplinkOptions
export type CreateDeeplinkOptions = CreateScriptCommandDeeplinkOptions | CreateExtensionDeeplinkOptions;

function getProtocol() {
return environment.raycastVersion.includes("alpha")
? process.env.RAYCASTX
? "raycast-x-internal://"
: "raycastinternal://"
: "raycast://";
return `${process.env.RAYCAST_SCHEME}://`;
}

function getOwnerOrAuthorName() {
Expand Down
Loading