Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open GitHub link with external browser #10

Merged
Merged
Show file tree
Hide file tree
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
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,6 @@ Running `yarn tauri build`, AppImage, deb and rpm in `src-tauri/target/release/b
yarn tauri build
```

## Launch as Web application

It can also be built as a typical static single-page application.
It can be distributed using a web server such as Apache or Nginx or a tool such as [vercel/serve](https://github.com/vercel/serve).

```sh
npm install --global serve
serve --single build --listen 8080
```


## Author

[sheepla](https://github.com/sheepla)
5 changes: 4 additions & 1 deletion src/components/AboutDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
Divider,
} from "@mui/material";
import GitHubIcon from "@mui/icons-material/GitHub";
import { open as browserOpen } from "@tauri-apps/api/shell";

const AboutDialog: React.FC<{ open: boolean; onClose: () => void }> = ({ open, onClose }) => {
return (
Expand Down Expand Up @@ -51,7 +52,9 @@ const AboutDialog: React.FC<{ open: boolean; onClose: () => void }> = ({ open, o
<Button
variant="contained"
startIcon={<GitHubIcon />}
href="https://github.com/sheepla/csv-grid-viewer"
onClick={async () => {
await browserOpen("https://github.com/sheepla/csv-grid-viewer");
}}
>
See GitHub Repository
</Button>
Expand Down