Skip to content

Commit

Permalink
Remove symlinks in nodejs setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatson committed Dec 11, 2023
1 parent 37f295c commit 29c2db1
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 10 deletions.
1 change: 1 addition & 0 deletions crates/librqbit/webui/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "rqbit-webui",
"private": true,
"type": "module",
"scripts": {
Expand Down
29 changes: 28 additions & 1 deletion desktop/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@tauri-apps/api": "^1.5.1",
"rqbit-webui": "file:../crates/librqbit/webui",
"lodash.debounce": "^4.0.8",
"react": "^18.2.0",
"react-bootstrap": "^2.9.1",
Expand Down
2 changes: 1 addition & 1 deletion desktop/src/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
TorrentDetails,
TorrentStats,
ErrorDetails,
} from "./rqbit-webui-src/api-types";
} from "rqbit-webui/src/api-types";

import { InvokeArgs, invoke } from "@tauri-apps/api/tauri";

Expand Down
4 changes: 2 additions & 2 deletions desktop/src/configure.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useState } from "react";
import { RqbitDesktopConfig } from "./configuration";
import { Button, Form, Modal, Row, Tab, Tabs } from "react-bootstrap";
import { ErrorComponent } from "rqbit-webui/src/components/ErrorComponent";
import { invokeAPI } from "./api";
import { ErrorDetails } from "./rqbit-webui-src/api-types";
import { ErrorComponent } from "./rqbit-webui-src/components/ErrorComponent";
import { ErrorDetails } from "rqbit-webui/src/api-types";

const FormCheck: React.FC<{
label: string;
Expand Down
9 changes: 4 additions & 5 deletions desktop/src/rqbit-desktop.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { useState } from "react";
import { RqbitWebUI } from "./rqbit-webui-src/rqbit-web";
import { RqbitWebUI } from "rqbit-webui/src/rqbit-web";
import { CurrentDesktopState, RqbitDesktopConfig } from "./configuration";
import { ConfigModal } from "./configure";
import { IconButton } from "./rqbit-webui-src/components/IconButton";
import { BsBodyText, BsSliders2 } from "react-icons/bs";
import { LogStreamModal } from "./rqbit-webui-src/components/LogStreamModal";
import { APIContext } from "./rqbit-webui-src/context";
import { IconButton } from "rqbit-webui/src/components/IconButton";
import { BsSliders2 } from "react-icons/bs";
import { APIContext } from "rqbit-webui/src/context";
import { makeAPI } from "./api";

export const RqbitDesktop: React.FC<{
Expand Down
1 change: 0 additions & 1 deletion desktop/src/rqbit-webui-src

This file was deleted.

0 comments on commit 29c2db1

Please sign in to comment.