mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-12-27 09:58:59 +01:00
Merge branch 'master' of https://github.com/apprenticeharper/DeDRM_tools
This commit is contained in:
commit
4b160132a5
2 changed files with 1 additions and 14 deletions
|
@ -27,7 +27,7 @@ platforms.
|
||||||
|
|
||||||
#### Enter your keys
|
#### Enter your keys
|
||||||
- Figure out what format DeDRM wants your key in by looking in
|
- 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
|
- For Kindle eInk devices, DeDRM expects you to put a list of serial
|
||||||
numbers in the `serials` field: `"serials": ["012345689abcdef"]` or
|
numbers in the `serials` field: `"serials": ["012345689abcdef"]` or
|
||||||
`"serials": ["1111111111111111", "2222222222222222"]`.
|
`"serials": ["1111111111111111", "2222222222222222"]`.
|
||||||
|
|
|
@ -19,19 +19,6 @@ OBOK_SRC_DIR = 'Obok_plugin'
|
||||||
OBOK_README = 'obok_plugin_ReadMe.txt'
|
OBOK_README = 'obok_plugin_ReadMe.txt'
|
||||||
RELEASE_DIR = 'release'
|
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):
|
def make_release(version):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue