mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2024-12-29 21:07:39 +06:00
commit
608bd400ee
@ -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 New Issue
Block a user