diff options
author | Frederick Yin <fkfd@macaw.me> | 2020-10-06 19:15:19 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@macaw.me> | 2020-10-06 19:15:19 +0800 |
commit | bf1682cab9c0b8c1c0165f2aa5b07d4aabf3dbda (patch) | |
tree | 18daa2409190b1e63d36cc2cd078df0364a911fc | |
parent | d38c10f591e759fcabdda676079c439f81f40ee7 (diff) |
Completely deprecate old downloader
- remove from document
- remove from example config
- remove from configs
-rw-r--r-- | README.md | 23 | ||||
-rw-r--r-- | picross.toml | 2 | ||||
-rw-r--r-- | picross/conf.py | 2 |
3 files changed, 0 insertions, 27 deletions
@@ -38,29 +38,6 @@ The priority is CLI arg > config file > default. - `Ctrl-w`: close current tab. - `Ctrl-PgUp/PgDown`: switch to tab above/below. -## Downloading files: - -> Warning: this feature will be deprecated soon. - -When the server responds with something that isn't decodable as a string, -McRoss will download the response body as a file with a helper, for example, -[gemget](https://github.com/makeworld-the-better-one/gemget/). - -Configuration: - -```toml -# example for gemget; $URL is self-explanatory, and $DEST is just download-dest -# i.e. where the files will be downloaded to. -download-cmd = "gemget $URL -d $DEST" -download-dest = "~/Downloads/" -``` - -The download job will then be handed to the helper of your choice. - -Note: if your `download-dest` contains spaces, you need to escape them with -**2 backslashes**. Like this: `~/My\\ Downloads`. One for shell and one for -TOML. - # Development To get started: diff --git a/picross.toml b/picross.toml index d8c546d..b0338d9 100644 --- a/picross.toml +++ b/picross.toml @@ -4,6 +4,4 @@ link-color = "#3daee9" list-item-color = "#27ae60" text-font = "Noto Sans Mono" mono-font = "Noto Sans Mono" -download-cmd = "gemget $URL -d $DEST" -download-dest = "~/Downloads/" window-geometry = "960x1020+960+0" diff --git a/picross/conf.py b/picross/conf.py index 6f20db5..0f09e34 100644 --- a/picross/conf.py +++ b/picross/conf.py @@ -20,8 +20,6 @@ conf_definitions = [ ConfDef("text-color", "t", str, "#eff0f1"), ConfDef("link-color", "l", str, "#3daee9"), ConfDef("list-item-color", "i", str, "#27ae60"), - ConfDef("download-cmd", None, str, ""), - ConfDef("download-dest", None, str, "~/Downloads/"), ConfDef("window-geometry", "g", str, "800x600+0+0"), ] |