From f1a461ae963f69bf600ded50415bdaffb20e28ec Mon Sep 17 00:00:00 2001 From: VShawn Date: Mon, 14 Aug 2023 22:02:40 +0800 Subject: [PATCH] remove pricing page --- source/docs/download.md | 24 ++++++++++++++++----- source/docs/extra/js/hide-something.js | 30 ++++++++++++++++++++++++++ source/mkdocs.yml | 2 +- 3 files changed, 50 insertions(+), 6 deletions(-) diff --git a/source/docs/download.md b/source/docs/download.md index 3ab6800..cded4a5 100644 --- a/source/docs/download.md +++ b/source/docs/download.md @@ -18,15 +18,15 @@ Latest Version: 0.7.2.8 !!! note - The exe version of {{appname}} on GitHub is **completely free** for personal use. - - For Microsoft Store build, you may need to pay for a lifetime license. + - ~~For Microsoft Store build, you may need to pay for a lifetime license.~~ (As our previous income is now able to cover the recent maintenance costs(server\domain name\ etc.), this app will resume free downloads now) | | {{appname}}
Preview build | Old PRemoteM
Stable EXE build | Old PRemoteM
Microsoft Store build | | :------------- | :----------------------------------------------------------------------------: | :--------------------------------------------------------: | :-----------------------------------------------------------------------: | -| Auto update | β›” | β›”
You have to update it manually | βœ…
You can update it from store or WinGet | -| Other features | βœ… + πŸ’₯New Features | βœ… | βœ… | -| Price | Free | Free | About πŸ’²1.99 (For store maintaining) | +| Auto update | β›” | β›”
You have to update it manually | βœ…
You can update it from store or WinGet | +| Other features | βœ… + πŸ’₯New Features | βœ… | βœ… | +| Price | Free | Free | ~~πŸ’²1.99~~ Free
| | Download | [From GitHub Nightly](https://github.com/1Remote/1Remote/releases/tag/Nightly) | [From GitHub](https://github.com/1Remote/1Remote/releases) | [Microsoft Store](https://www.microsoft.com/store/productId/9PNMNF92JNFP) | -| Installer | `choco install 1remote` | `choco install premotem` | `winget install premotem` | +| Installer | `choco install 1remote` | `choco install premotem` | `winget install premotem` | @@ -40,4 +40,18 @@ Latest Version: 0.7.2.8 - [x] [Auto switching between multi-addresses (you don't have to select the address manually)](https://1remote.github.io/usage/alternative-credential/#auto-switching-address) - [x] [Servers sharing within team (e.g. share servers with your colleagues)](https://1remote.github.io/usage/team/team-sharing/) + +## Make 1Remote Stronger + +If you like **1Remote**, help us make it stronger by doing any of the following: + +1. Simply star the repository +2. [Help translation](https://1remote.github.io/usage/misc/help-translation/) +3. [Join DEV](DEVELOP.md) +4. [Buy a coffee](https://ko-fi.com/VShawn) + + + {% include 'footer.md' %} diff --git a/source/docs/extra/js/hide-something.js b/source/docs/extra/js/hide-something.js index 727dbfe..3566c53 100644 --- a/source/docs/extra/js/hide-something.js +++ b/source/docs/extra/js/hide-something.js @@ -8,3 +8,33 @@ // $(".md-header .md-select").show(); // } // }); + + + +// ε¦‚ζžœ document.referrer 不是 ζ₯源于 "/zh-cn/" εˆ™ζ‰§θ‘ŒδΈ‹ι’ηš„δ»£η  +if (document.referrer === '') { + var type = navigator.appName; + if (type == "Netscape") { + var lang = navigator.language.toLowerCase(); + } else { + var lang = navigator.browserLanguage.toLowerCase(); + } + var lang = lang.substr(0, 5); + if (lang === "zh-cn" && window.location.pathname === "/") { + // ζ˜Ύη€Ίζ‰€ζœ‰ class = "class-zh-cn" ηš„ε…ƒη΄  + } +} diff --git a/source/mkdocs.yml b/source/mkdocs.yml index 2ce9c16..bfa966c 100644 --- a/source/mkdocs.yml +++ b/source/mkdocs.yml @@ -189,7 +189,7 @@ nav: - Creating Desktop shortcut for connections: usage/misc/desktop-shortcut-for-connection.md - Help translation: usage/misc/help-translation.md # - Customized: usage/misc/customized.md - - Pricing: pricing.md + # - Pricing: pricing.md - Download: download.md - Privacy Policy: privacy-policy.md - About: about.md