Commit Graph
86 Commits
Author SHA1 Message Date
Alex Xu 367d71e4ad fix typo 2024-06-25 12:52:41 -07:00
Alex Xu cdde0f18cd update prereq readme (#714)
* update prereq readme

* Update README.md

* Update README.md

* Revert "Update README.md"

This reverts commit ceb35b03b6.

* Revert "Update README.md"

This reverts commit a24e818c0e.

* add other OS note
2024-06-25 12:42:38 -07:00
Alex Xu 9fe82a9dd4 improve kindlegen detection windows (#688)
* improve kindlegen detection windows

* add C:\Apps folders
2024-06-25 12:21:48 -07:00
Alex Xu 6738b70487 don't display upscale warning on kindle scribe 2024-06-09 08:00:55 -07:00
Alex Xu a9a2f47e30 fix 1860 width 2024-05-28 09:55:59 -07:00
Alex Xu 1ea008c8f3 reduce dependency on 7z, unar, homebrew by using builtin tar (#693)
* reduce dependency on 7z, unar, homebrew by using builtin tar

* update readme

* fix typo

* add editor text

* remove unar

* Revert "remove unar"

This reverts commit 2c4b239d67.

* Revert "fix typo"

This reverts commit 79752c7f38.

* Revert "update readme"

This reverts commit 4f5c727a2d.
2024-05-17 09:56:04 -07:00
Alex Xu cbc1ed5db4 Kindle Scribe 1860 max width (#691)
* Kindle Scribe 1860 max width

* create kindle_scribe_azw3 var

* clean up code
2024-05-17 09:55:43 -07:00
Alex Xu 6bf662bea3 add faq 2024-05-15 10:15:08 -07:00
Alex Xu cfae306731 macos-latest is now macos-14 (m1) 2024-04-27 12:56:49 -07:00
Alex Xu f6475f4c61 Close and re-open KCC note 2024-04-19 21:15:48 -07:00
Alex Xu 9646518575 shorten 7z/kindlegen notes 2024-04-18 20:58:12 -07:00
Alex Xu 937dd3984a kindlegen note 2024-04-18 18:07:06 -07:00
Alex Xu 4e6f6ec8e8 clarify 7z/kindlegen windows 2024-04-18 17:35:51 -07:00
Alex Xu 4b36fdbfa2 update C drive notes 2024-04-18 16:08:10 -07:00
Alex Xu d8141af4eb update c drive notes 2024-04-18 15:45:34 -07:00
Alex Xu cf38c4d445 Revert "fix package-windows-with-docker.yml (#579)"
This reverts commit 424118b7cd.
2024-04-16 15:46:44 -07:00
Alex Xu 283b2da1a0 bump to 6.0.0 2024-04-16 15:09:03 -07:00
Alex Xu 4a9f693574 Adds --author argument to CLI (#683) 2024-04-16 14:59:54 -07:00
Alex Xu 9a48887edc update C drive notes 2024-04-15 21:16:14 -07:00
Alex Xu 0981ec3c6d add more 7z Windows locations 2024-03-24 18:40:50 -07:00
Alex Xu 518e67c132 move install from source instructions 2024-03-16 20:12:30 -07:00
Alex Xu 6c593dac1f add gen_ui_files note 2024-03-16 14:04:35 -07:00
Alex Xu 9d065676db add install from source and qt creator instructions 2024-03-16 13:54:40 -07:00
Alex Xu 9520e59a29 Add C drive notes 2024-03-15 12:08:46 -07:00
Alex Xu 461a7fda88 add C drive note 2024-03-12 12:44:07 -07:00
Alex Xu 5ccbb770a6 do not change default install location for 7z/KP 2024-03-09 10:04:01 -08:00
Alex Xu 49bf80f5d8 LOAD_TRUNCATED_IMAGES = True 2024-03-04 21:36:07 -08:00
Alex Xu 33cc324381 prepare m1 build pipeline (#669) 2024-01-31 11:49:27 -08:00
Alex Xu 6ba5539813 Revert "docker arm install from requirements.txt" 2024-01-29 10:54:13 -08:00
Alex Xu f725196106 reset saved settings 2024-01-29 10:29:45 -08:00
Alex Xu c8ff88ed0f Update Dockerfile-base 2024-01-28 22:27:03 -08:00
Alex Xu bc7cd17916 rename kp3 2024-01-12 12:41:51 -08:00
Alex Xu c5e1e18ac2 Revert "rename pw to paperwhite"
This reverts commit 48541404ee.
2024-01-02 14:26:53 -08:00
ee31b784cb Add native Apple Silicon support by upgrading qt5 to qt6 (#523)
* initial upgrade

* fix epub icon

* pyside6

* fix tray icon

* add spaces

* add comment back

* change exec

* edit shared

* Add CheckState enums

* add mozJpeg

* fix batch

* import CheckedState

* remove references to qt5

* add mozJpeg warning

* Update package-linux.yml

* Update package-linux.yml

* Update Dockerfile-base

* Update README.md

* Update package-linux.yml

* Update README.md

* Update README.md

* add mozjpeg to gitignore

* add warning text

* fix state issue

* use same settings save location as qt5

* remove space

* remove mozJpeg

* update Dockerfile-base file version

* use getattr instead of eval

* undo readme changes

* undo conda

* undo gitignore

---------

Co-authored-by: Alexander Xu <alexanderx@qualtrics.com>
Co-authored-by: darodi <4682830+darodi@users.noreply.github.com>
2024-01-02 14:08:39 -08:00
Alex Xu 48541404ee rename pw to paperwhite 2024-01-02 12:14:51 -08:00
Alex Xu acbebcfd40 rename kindle labels by gen 2024-01-02 12:14:51 -08:00
Alex Xu 57cf669cdd add to credits 2023-12-28 18:55:08 -08:00
Alex Xu 0b4f089b8e add .DS_Store to .gitignore 2023-12-23 09:35:12 -08:00
Alex Xu 7eb985337c add requests to setup.py 2023-12-23 09:10:31 -08:00
Alex Xu d62690e8bf import subprocess 2023-12-21 13:40:48 -08:00
Alex Xu 3988f2012f fix p7zip-rar error and files with ' or " by using arg lists instead of strings (#633)
* Revert "Revert "fix files with ' or " by using arg lists instead of strings (#581)" (#628)"

This reverts commit b528dab711.

* handle FileNotFoundError

* modify unar handling

* remove unneeded utf-8 encoding

* dont uft-8 encode 7z

* remove utf-8 encoding from 7z calls

* don't extract stderr

* add extraction error

* edit error message

* remove debug

* remove kindlegen location from GUI

* remove comment
2023-12-21 12:52:35 -08:00
Alex Xu 6cdd9d5909 change kobo epub filenames (#616) 2023-12-21 12:51:26 -08:00
Alex Xu c29a4beac9 use requests library 2023-12-21 12:44:29 -08:00
Alex Xu 5f7bdef325 bump to 5.6.5 2023-12-21 09:50:34 -08:00
Alex Xu 54b5d698ee fix access denied 2023-12-21 09:43:33 -08:00
Alex Xu a99c63acea use os_sorted over natsorted 2023-12-21 09:43:07 -08:00
Alex Xu 983bde1691 add fat to list of drives 2023-12-21 09:41:18 -08:00
Alex Xu 915c9389ef remove kindlegen location UI 2023-12-09 17:39:01 -08:00
Alex Xu 89d887710e fix typo 2023-12-07 18:57:46 -08:00
Alex Xu 2e9bc5381a add PREREQUISITES 2023-12-07 18:56:57 -08:00
Alex Xu ab1ce158c7 rename to prerequisites 2023-12-04 09:33:08 -08:00
Alex Xu 6e6c13047e bump to 5.6.4 2023-11-28 08:32:34 -08:00
Alex Xu b528dab711 Revert "fix files with ' or " by using arg lists instead of strings (#581)" (#628)
This reverts commit 431862a2e9.
2023-11-28 08:20:14 -08:00
Alex Xu 2ffefee928 link to readme not wiki for 7z kindlegen (#627)
* link to readme not wiki for 7z kindlegen

* update 7z link
2023-11-28 08:15:59 -08:00
Alex Xu a5e5407363 streamline downloads and installation readme (#623)
* streamline downloads and installation

move linux stuff into wiki

* Update README.md

* update labels

* simplify
2023-11-28 07:38:46 -08:00
Alex Xu da1ba64bd2 skip bookmarks if split (#620) 2023-11-28 06:54:47 -08:00
Alex Xu 6dcaf9a6d1 fix unsupported archive error (#619) 2023-11-28 06:53:58 -08:00
Alex Xu 3090a47f20 change mac pyinstaller -F to -D (#621) 2023-11-28 06:52:39 -08:00
Alex Xu 1e537915d4 make c2e and c2p versions first in file order 2023-11-28 06:50:55 -08:00
Alex Xu 68da853e42 fix page order in pdf and more by using natural sort instead of python sort (#589)
* use natsorted

* Add fast
2023-11-09 23:00:44 +00:00
Alex Xu 431862a2e9 fix files with ' or " by using arg lists instead of strings (#581)
* replace popen with subprocess run

* add splitlines

* remove stdin

* fix xml

* fix error logging and 7zip
2023-11-09 22:27:09 +00:00
Alex Xu 65062f8984 add Kindle 4/5/7/8/10 label (#614) 2023-11-09 22:15:34 +00:00
Alex Xu 8122fa1e45 add c2e and c2p note (#606) 2023-10-26 19:29:16 +00:00
Alex Xu 13fedff77b lower auto crop threshold (#598) 2023-10-26 19:20:26 +00:00
Alex Xu 60e9f075b8 replace exit() with sys.exit() (#590) 2023-09-08 20:18:32 +00:00
Alex Xu 4e45402b8f add download instructions (#577)
* add download instructions

* fix spacing

* fix capitalization
2023-08-10 16:16:55 +00:00
Alex Xu 615790c278 remove old windows 7z binaries and Inno Setup Script ISS (#575)
* Delete 7z.dll

* Delete 7z.exe

* Delete Additional-LICENSE.txt

* Delete InstallWarning.rtf

* Update kcc.iss

* Update kcc.py

* Update .dockerignore

* Delete kcc.iss
2023-08-09 16:24:26 +00:00
Alex Xu 0d417b8e11 prioritize KC2 over KP3 kindlegen version (#574)
* prioritize KC2 over KP3

* remove link to buggy KP3 kindlegen

* prioritize KC2 since KP3 version is buggy as of v3.72

* add kindlegen install link

* update comments
2023-08-08 20:25:03 +00:00
Alex XuandAlexander Xu 6836c20377 Fix page order and bookmarks by renaming numerically (#507)
* disable slugify

* rename to digits

* add -kcc

* add ABC checks

* remove kobo

* don't use if statements

* rename to suffix

* re-order check

* only slugify directories

* add break

* add sorted

* fix kcc-b logic

* add kcc to front of filename

---------

Co-authored-by: Alexander Xu <alexanderx@qualtrics.com>
2023-08-07 18:22:46 +00:00
Alex Xu 77afa77d32 Display kindlegen path (#571)
* add %LOCALAPPDATA%\\Amazon\\KC2

* fix kindlegen link

* expandvars

* remove link

* print where kindlegen

* adjust where command

* remove platform
2023-08-07 17:53:38 +00:00
Alex Xu f73d889b6e fix damaged 2023-08-06 20:11:00 +00:00
Alex Xu c5c88095ee bump to 5.6.3 2023-08-06 21:39:40 +02:00
Alex Xu 1318b9c0f2 Fix Mac CBZ, CBR, damaged, cover upload
.decode("utf-8")

edit kindlegen text

adjust 7z text

add unar

delete spec

remove 7z binaries

change path priorities

add 7z location for m1

delete plist

fix mac cover upload
2023-08-06 21:39:40 +02:00
Alex Xu 9339abb267 skip single pixel images in PDF (#546)
* skip pixels hopefully

* add comments and reorder

* add constant
2023-08-05 15:37:00 +00:00
Alex Xu 154707a412 Merge pull request #559
* make scribe default to no upscale with manga mode
2023-08-05 15:18:25 +00:00
Alex Xuanddarodi 531cea88e6 Add 7z and Kindle Previewer 3 to PATH in all scenarios (#560)
* add 7z and KP3 to path
---------

Co-authored-by: darodi <4682830+darodi@users.noreply.github.com>
2023-07-25 19:27:56 +00:00
Alex Xu a5202458dc Merge pull request #553
* warn p7zip-rar

* replace strerror
2023-07-05 16:54:24 +00:00
Alex Xu 5902d88d98 remove dead download links (#544)
* remove old links
2023-07-04 10:48:04 +00:00
Alex Xu e7e41715d0 rename binary releases to downloads (#545) 2023-06-27 16:59:33 +00:00
Alex Xu 62d1c7c488 add 7z wiki link (#543) 2023-06-12 20:16:26 +00:00
Alex Xu 4923dac8f0 explicitly name disabled archives (#531)
* explicitly name disabled archives
2023-06-10 11:14:41 +00:00
Alex Xu 37200bdca0 Crop images within 3% of device aspect ratio (#495)
* Crop images within 3% of device aspect ratio

* use pad instead of expand+fit

* reafactor threshold check

* remove default val
2023-05-14 16:34:11 +00:00
Alex Xu b4ec0b4a74 update wording 2023-05-12 14:17:18 -07:00
Alex Xu a90b4c82c5 add UI 7z path 2023-05-12 13:06:09 -07:00
Alex Xu 390d58bf08 add 7z to PATH 2023-05-12 12:20:37 -07:00
Alex Xu 9ab1cd359c remove transparency from image info 2023-03-27 22:04:35 +00:00