Skip to content

Commit

Permalink
Redact Roblox URI
Browse files Browse the repository at this point in the history
  • Loading branch information
OrigamingWasTaken committed Oct 4, 2024
1 parent 13985a5 commit a480976
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/windows/main/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
const urlArgument = window.NL_ARGS.find((arg) => arg.includes('--deeplink='));
if (urlArgument) {
const url = urlArgument.slice(11)
console.info('[App] Launching AppleBlox with Roblox URI:',url);
console.info('[App] Launching AppleBlox with Roblox URI.');
await focusWindow()
await Roblox.launch(
(value) => (launchInfo.isConnected = value),
Expand Down
6 changes: 2 additions & 4 deletions frontend/src/windows/main/ts/roblox/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,10 @@ export class RobloxInstance {

// Launch Roblox
if (url) {
console.info(`[Roblox.Instance] Opening from URL: ${url}`);
await Roblox.Delegate.toggle(false);
await clipboard.writeText(url)
await shell("open",[url]);
await shell('open', [url]);
} else {
await shell("open",[Roblox.path]);
await shell('open', [Roblox.path]);
}

await sleep(1000);
Expand Down

0 comments on commit a480976

Please sign in to comment.