Skip to content

Commit de92d13

Browse files
Merge pull request #1 from coderFeedForwardAlg/update-installs
updated for a new cargo package
2 parents 68d9f44 + 737e6b7 commit de92d13

10 files changed

Lines changed: 33 additions & 20 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
members = ["wiki-api", "wiki-api-macros"]
33

44
[package]
5-
name = "wiki-tui"
6-
version = "0.9.1"
5+
name = "wiki-tui2"
6+
version = "0.9.2" # Updated version for the fork
77
authors = ["builditluc <37375448+Builditluc@users.noreply.github.com>"]
88
edition = "2018"
99
rust-version = "1.76.0"
1010
description = "A simple and easy to use Wikipedia Text User Interface"
1111
readme = "README.md"
12-
homepage = "https://wiki-tui.net"
13-
repository = "https://github.com/builditluc/wiki-tui"
12+
homepage = "https://github.com/mgs/wiki-tui2" # Updated to point to the fork
13+
repository = "https://github.com/mgs/wiki-tui2" # Updated to point to the fork
1414
license = "MIT"
1515
keywords = ["tui", "wikipedia"]
1616

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@
2222
2323
<br>
2424

25-
You can find the **installation instructions**, **configuration options**, **more preview images**, **a feature overview** and more on our website, [wiki-tui.net](https://wiki-tui.net/latest)
25+
## Installation
26+
27+
### Cargo
28+
You can install this forked version with:
29+
30+
```sh
31+
cargo install wiki-tui2
32+
```
2633

2734
# What can it do?
2835

docs/docs/getting-started/installation.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,19 @@ make install clean
6464

6565
### Cargo
6666

67-
If wiki-tui cannot be installed with your package manager, you can also install it with cargo. There are no extra dependencies (except rust of course).
67+
If wiki-tui cannot be installed with your package manager, you can also install the original version with cargo, or install this forked version (wiki-tui2) with cargo. There are no extra dependencies (except rust of course).
6868

69+
For the original version:
6970
```sh
7071
cargo install wiki-tui
7172
```
7273

73-
If you want, you can also use the latest development version from GitHub (can be unstable)
74+
For this forked version (wiki-tui2):
75+
```sh
76+
cargo install wiki-tui2
77+
```
78+
79+
If you want, you can also use the latest development version from the original GitHub repository (can be unstable)
7480

7581
```sh
7682
cargo install --git https://github.com/builditluc/wiki-tui

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::sync::Arc;
33
use anyhow::{Context, Result};
44
use tokio::sync::{mpsc, Mutex};
55
use tracing::warn;
6-
use wiki_tui::{
6+
use wiki_tui2::{
77
action::{Action, ActionPacket, ActionResult},
88
app::AppComponent,
99
cli::match_cli,

wiki-api-macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ edition = "2018"
66
description = "Proc-macros for use within wiki-api"
77
documentation = "https://docs.rs/wiki-api-macros"
88
readme = "README.md"
9-
homepage = "https://builditluc.github.io/wiki-tui"
10-
repository = "https://github.com/builditluc/wiki-tui"
9+
homepage = "https://github.com/mgs/wiki-tui2"
10+
repository = "https://github.com/mgs/wiki-tui2"
1111
license = "MIT"
1212
keywords = ["tui", "wikipedia"]
1313

wiki-api/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["builditluc <37375448+Builditluc@users.noreply.github.com>"]
55
edition = "2018"
66
description = "Backend for wiki-tui"
77
documentation = "https://docs.rs/wiki-api"
8-
homepage = "https://wiki-tui.net"
9-
repository = "https://github.com/builditluc/wiki-tui"
8+
homepage = "https://github.com/mgs/wiki-tui2"
9+
repository = "https://github.com/mgs/wiki-tui2"
1010
license = "MIT"
1111
keywords = ["tui", "wikipedia"]
1212

wiki-api/src/page.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ impl<I, P> PageBuilder<I, P, WithEndpoint, WithLanguage> {
382382
async fn action_parse(params: Vec<(&str, String)>, endpoint: Url) -> Result<Response> {
383383
Client::new()
384384
.get(endpoint)
385-
.header("User-Agent", "wiki-tui/0.9.1")
385+
.header("User-Agent", "wiki-tui2/0.9.2")
386386
.query(&[
387387
("action", "parse"),
388388
("format", "json"),

wiki-api/src/search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ impl SearchBuilder<WithQuery, WithEndpoint, WithLanguage> {
702702
async fn action_query(params: Vec<(&str, String)>, endpoint: Endpoint) -> Result<Response> {
703703
Client::new()
704704
.get(endpoint)
705-
.header("User-Agent", "wiki-tui/0.9.1")
705+
.header("User-Agent", "wiki-tui2/0.9.2")
706706
.query(&[
707707
("action", "query"),
708708
("format", "json"),

wiki-tui.desktop

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[Desktop Entry]
2-
Name=wiki-tui
2+
Name=wiki-tui2
33
Comment=A simple and easy to use Wikipedia Text User Interface
4-
TryExec=wiki-tui
5-
Exec=wiki-tui
4+
TryExec=wiki-tui2
5+
Exec=wiki-tui2
66
Keywords=wikipedia;search;
77
Categories=Network
8-
Icon=wiki-tui
8+
Icon=wiki-tui2
99
Type=Application
1010
Terminal=true

0 commit comments

Comments
 (0)