Skip to content

Commit

Permalink
Merge pull request #39 from Luzefiru/fix/add-logs-warning
Browse files Browse the repository at this point in the history
fix: add warning tip for those who edited Engine.ini
  • Loading branch information
Luzefiru authored Jun 5, 2024
2 parents 13acab3 + 18ff338 commit 112ec7f
Showing 1 changed file with 25 additions and 11 deletions.
36 changes: 25 additions & 11 deletions src/components/convenes/import-tutorial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,16 @@ export function ImportTutorial({ redirectToHistory }: Props) {
onBlur={(e) => setGamePath(e.target.value)}
/>
</div>
<ul className="flex flex-col gap-2 md:ps-8 md:list-disc mt-2 mb-4">
<li>
<p className="text-sm font-normal text-muted-foreground">
Warning: If you edited your <code>Engine.ini</code> file to
disable logs, you&apos;ll have to re-enable them before
opening your convene history, otherwise the script
won&apos;t work.
</p>
</li>
</ul>
</li>
<li className="mb-10 ms-8">
<span className="absolute -start-4 bg-accent rounded-full w-8 h-8 p-3 flex justify-center items-center">
Expand Down Expand Up @@ -144,17 +154,21 @@ export function ImportTutorial({ redirectToHistory }: Props) {
</TooltipContent>
</Tooltip>
</div>
<p className="my-4 text-sm font-normal text-muted-foreground">
Note: The script does not edit your files, it simply extracts
the URL from your logs. You can view the script{" "}
<Link
className="text-yellow-500 hover:text-yellow-600"
href="https://gist.github.com/Luzefiru/19c0759bea1b9e7ef480bb39303b3f6c"
>
here
</Link>
.
</p>
<ul className="flex flex-col gap-2 md:ps-8 md:list-disc mt-2 mb-4">
<li>
<p className="text-sm font-normal text-muted-foreground">
Note: The script does not edit your files, it simply
extracts the URL from your logs. You can view the script{" "}
<Link
className="text-yellow-500 hover:text-yellow-600"
href="https://gist.github.com/Luzefiru/19c0759bea1b9e7ef480bb39303b3f6c"
>
here
</Link>
.
</p>
</li>
</ul>
</li>
<li className="mb-10 ms-8">
<span className="absolute -start-4 bg-accent rounded-full w-8 h-8 p-3 flex justify-center items-center">
Expand Down

0 comments on commit 112ec7f

Please sign in to comment.