diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2019-10-21 14:14:57 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2019-10-21 16:12:03 +0200 |
commit | c3dad087d396e8ca09adee7670052578b5d15af8 (patch) | |
tree | ecc70743008f76fcd2a10e1cdf89aef863313273 | |
parent | Version bump (diff) | |
download | kcc-c3dad087d396e8ca09adee7670052578b5d15af8.tar.gz kcc-c3dad087d396e8ca09adee7670052578b5d15af8.tar.bz2 kcc-c3dad087d396e8ca09adee7670052578b5d15af8.zip |
Update build scripts
-rw-r--r-- | .travis.yml | 21 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | appveyor.yml | 17 | ||||
-rwxr-xr-x | kcc.py | 2 | ||||
-rw-r--r-- | other/osx/Info.plist | 8 | ||||
-rw-r--r-- | other/osx/sentry.py.enc | bin | 176 -> 0 bytes | |||
-rw-r--r-- | other/windows/sentry.py.enc | 3 |
7 files changed, 17 insertions, 36 deletions
diff --git a/.travis.yml b/.travis.yml index 27745c0..0431598 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,16 +2,10 @@ matrix: include: - os: osx language: generic - osx_image: xcode9.2 + osx_image: xcode11.1 before_install: -- brew update -- brew upgrade python3 -- brew uninstall node -- travis_wait 30 brew install node@6 -- brew link node@6 --force --overwrite - pip3 install --upgrade pip setuptools wheel -- openssl aes-256-cbc -K $encrypted_a95564d8ff0d_key -iv $encrypted_a95564d8ff0d_iv -in other/osx/sentry.py.enc -out kindlecomicconverter/sentry.py -d install: - pip3 install -r requirements.txt @@ -25,13 +19,12 @@ before_deploy: - rm -r dist/!(*.deb|*.dmg) deploy: - provider: s3 - skip_cleanup: true - access_key_id: AKIAIQNL5R4FI4C4NJYQ + provider: gcs + access_key_id: GOOG1EC62457RKUYFR2TIZUWV4EFSV2EP5LVLPPFXUAKADWJFDYPFW63BQSLA secret_access_key: - secure: X66hYplxB4QSueljwvDfamNH/MQmHjo3mCofBcaTHAr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+2rjuWGoXro0lU6L4LIRCOruY3AuLCAKG8Qw5Ak9ksmIKBhZ9soxpoIwu/TYDUQkFj29IrUQucg9TEp7uAoxu8/7EHxB7hWnBRaBAAQbMuIRg7yysT3FT0Os6SB0t9+RBsVMSPuIti9JJZ2Lu0uRI1+Se+g7ItzYtJoPhBJAzAa+J9OONj0RNj2z8Vq2oIBhH4z6b6zTRMVroos3cdfYl5qIKs9SQ7rmeHoPRROcqpCznsUZ/ESa4f2MewFU/7AYcEnCesZV4xg= bucket: kcc-deploy - region: eu-central-1 - local_dir: dist + local-dir: dist + skip_cleanup: true on: - repo: AcidWeb/kcc + repo: AcidWeb/KCC diff --git a/README.md b/README.md index 7e39ea5..7bdb90a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ If you find **KCC** valuable you can consider donating to the authors: ## BINARY RELEASES You can find the latest released binary at the following links: - **[Windows](http://kcc.iosphe.re/Windows/) (64-bit only)** -- **[macOS](http://kcc.iosphe.re/OSX/) (10.13+)** +- **[macOS](http://kcc.iosphe.re/OSX/) (10.14+)** - **Linux:** Currently unavailable. ## PYPI diff --git a/appveyor.yml b/appveyor.yml index b603c3c..b6bb74b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,24 +2,13 @@ environment: PYTHON: "C:\\Python37-x64" install: - - set PATH="%PYTHON%\\Scripts";"C:\\Program Files (x86)\\Inno Setup 5";%PATH% + - set PATH="%PYTHON%\\Scripts";%PATH% - "%PYTHON%\\python.exe -m pip install --upgrade pip setuptools wheel" - "%PYTHON%\\python.exe -m pip install -r requirements.txt" - "%PYTHON%\\python.exe -m pip install certifi https://github.com/pyinstaller/pyinstaller/archive/develop.zip" - - nuget install secure-file -ExcludeVersion - - secure-file\tools\secure-file -decrypt other\windows\sentry.py.enc -out kindlecomicconverter\sentry.py -secret %ENCRYPTION% build_script: - "%PYTHON%\\python.exe setup.py build_binary" -after_build: - - ps: Get-ChildItem .\dist\KCC* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } - -deploy: - provider: S3 - access_key_id: - secure: pWfyU8wtAHt354mBILwM41TemOjb+My9n3CRMnrpLzI= - secret_access_key: - secure: G0Xpxe355LMqV3s8v+TsdJYdmhFoKKA+mxK37Tlu8yNwKXKJgcnY7pcFKSdX5xS5 - bucket: kcc-deploy - region: eu-central-1 +artifacts: + - path: dist\KCC* diff --git a/kcc.py b/kcc.py index 27284ce..feb9e2e 100755 --- a/kcc.py +++ b/kcc.py @@ -31,8 +31,6 @@ if sys.platform.startswith('darwin'): '/../Resources:/Applications/Kindle Comic Creator/Kindle Comic Creator.app/Contents/' \ 'MacOS:/usr/local/bin:/usr/bin:/bin' os.chdir(os.path.dirname(os.path.abspath(sys.executable)) + '/../Resources') - os.system('defaults write com.kindlecomicconverter.KindleComicConverter ApplePersistenceIgnoreState YES') - os.system('defaults write com.kindlecomicconverter.KindleComicConverter NSInitialToolTipDelay -int 1000') else: os.chdir(os.path.dirname(os.path.abspath(__file__))) elif sys.platform.startswith('win'): diff --git a/other/osx/Info.plist b/other/osx/Info.plist index daed678..969c499 100644 --- a/other/osx/Info.plist +++ b/other/osx/Info.plist @@ -50,12 +50,12 @@ <key>LSEnvironment</key> <dict> <key>PATH</key> - <string>./../Resources:/usr/local/bin:/usr/bin:/bin</string> + <string>./../Resources:/Applications/Kindle Comic Creator/Kindle Comic Creator.app/Contents/MacOS:/usr/local/bin:/usr/bin:/bin</string> </dict> <key>LSHasLocalizedDisplayName</key> <false/> <key>LSMinimumSystemVersion</key> - <string>10.13.0</string> + <string>10.14.0</string> <key>NSAppleScriptEnabled</key> <false/> <key>NSHumanReadableCopyright</key> @@ -64,5 +64,9 @@ <string>MainMenu</string> <key>NSPrincipalClass</key> <string>NSApplication</string> + <key>NSRequiresAquaSystemAppearance</key> + <string>false</string> + <key>NSInitialToolTipDelay</key> + <integer>1000</integer> </dict> </plist> diff --git a/other/osx/sentry.py.enc b/other/osx/sentry.py.enc deleted file mode 100644 index c38a68c..0000000 --- a/other/osx/sentry.py.enc +++ /dev/null Binary files differdiff --git a/other/windows/sentry.py.enc b/other/windows/sentry.py.enc deleted file mode 100644 index 930988b..0000000 --- a/other/windows/sentry.py.enc +++ /dev/null @@ -1,3 +0,0 @@ -d7э|lz6nI_:-!nBCD}fzIe|\9KWfH[YLY7^@m*Ym_z`3WSD{"a@>;}\,D·!yX薁~~Y_xd BT -B𢯣 -u|91u~PaLDjh \ No newline at end of file |