Update icon and Add info

This commit is contained in:
Andros Fenollosa
2017-04-20 00:57:59 +02:00
parent 65f275850d
commit 014ffce8ed
182 changed files with 9338 additions and 10 deletions

Binary file not shown.

View File

@ -5,17 +5,17 @@
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>main</string>
<string>Guetzli-R</string>
<key>CFBundleExecutable</key>
<string>main</string>
<string>Guetzli-R</string>
<key>CFBundleIconFile</key>
<string>PythonApplet.icns</string>
<string>icon.icns</string>
<key>CFBundleIdentifier</key>
<string>org.pythonmac.unspecified.main</string>
<string>org.pythonmac.unspecified.Guetzli-R</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>main</string>
<string>Guetzli-R</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
@ -68,7 +68,7 @@
<key>PythonInfoDict</key>
<dict>
<key>PythonExecutable</key>
<string>/Users/androsfenollosa/www/guetzli-recursively/venv/bin/python3</string>
<string>/Users/androsfenollosa/www/guetzli-recursively-gui/venv/bin/python3</string>
<key>PythonLongVersion</key>
<string>3.6.1 (default, Mar 23 2017, 16:49:06)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]</string>

View File

@ -103,10 +103,13 @@ class Application(Frame):
# Run guetzli
for dirpath, dirnames, files in walk(self.top_dir):
for name in files:
# Info
self.label_path['text'] = 'Preparing file'
url = path.join(dirpath, name)
self.label_path['text'] = f'Working... {name}'
# Check type
if what(url) in self.TYPES:
# Info
self.label_path['text'] = f'Working... {name}'
# Get urls
url_out = path.join(self.top_dir, self.TEMP_FILE)
# Remove temp image

View File

@ -76,6 +76,6 @@ def _setup_ctypes():
_setup_ctypes()
DEFAULT_SCRIPT='main.py'
DEFAULT_SCRIPT='Guetzli-R.py'
SCRIPT_MAP={}
_run()

Binary file not shown.

Binary file not shown.