From 83139bc59004dde0d9a9c1d7aa965c08e9bfe2e8 Mon Sep 17 00:00:00 2001 From: Jonathan Hartley Date: Thu, 8 Oct 2020 14:37:04 -0500 Subject: [PATCH 1/2] Remove unused fns in make_release.py --- make_release.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/make_release.py b/make_release.py index 68352fb..0e95173 100755 --- a/make_release.py +++ b/make_release.py @@ -19,19 +19,6 @@ OBOK_SRC_DIR = 'Obok_plugin' OBOK_README = 'obok_plugin_ReadMe.txt' RELEASE_DIR = 'release' -def make_calibre_plugin(): - - shutil.make_archive(core_dir, 'zip', core_dir) - shutil.rmtree(core_dir) - - -def make_obok_plugin(): - obok_plugin_dir = os.path.join(SHELLS_BASE, 'Obok_calibre_plugin') - core_dir = os.path.join(obok_plugin_dir, 'obok_plugin') - - shutil.copytree(OBOK_SRC_DIR, core_dir) - shutil.make_archive(core_dir, 'zip') - shutil.rmtree(core_dir) def make_release(version): try: From 41d3da12ecf289ced73b3931df1d079a530bcbc6 Mon Sep 17 00:00:00 2001 From: Petra Lamborn Date: Fri, 9 Oct 2020 22:25:01 +1300 Subject: [PATCH 2/2] Update doc link for preferences code This should really be properly explained, but at least it's not a dead link now! --- CALIBRE_CLI_INSTRUCTIONS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CALIBRE_CLI_INSTRUCTIONS.md b/CALIBRE_CLI_INSTRUCTIONS.md index dbda688..9c1359f 100644 --- a/CALIBRE_CLI_INSTRUCTIONS.md +++ b/CALIBRE_CLI_INSTRUCTIONS.md @@ -27,7 +27,7 @@ platforms. #### Enter your keys - Figure out what format DeDRM wants your key in by looking in - [the code that handles that](dedrm_src/prefs.py). + [the code that handles that](DeDRM_plugin/prefs.py). - For Kindle eInk devices, DeDRM expects you to put a list of serial numbers in the `serials` field: `"serials": ["012345689abcdef"]` or `"serials": ["1111111111111111", "2222222222222222"]`.