Skip to content

Commit

Permalink
initial commit, fix implemented (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmetCanSolak authored Nov 25, 2021
1 parent 17c5921 commit 7ae393f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build/osx/aydin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pyz = PYZ(a.pure)
# we actually dont need (e.g. wxPython)

import re
reg = re.compile(".*(PyQt4|k_means|mpl-data|tcl|zmq|QtWebKit|QtQuick|wxPython).*")
reg = re.compile(".*(PyQt4|k_means|mpl-data|zmq|QtWebKit|QtQuick|wxPython).*")

# from pprint import pprint
# pprint(a.binaries)
Expand Down
21 changes: 12 additions & 9 deletions build/osx/runtimehooks/hook-splash.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@

from PIL import Image

try:
img = Image.open(absPath("biohub_logo.png"))
fig = plt.figure()
man = plt.get_current_fig_manager()
man.canvas.set_window_title("Aydin Studio - image denoising, but chill...")
imgplot = plt.imshow(img)

img = Image.open(absPath("biohub_logo.png"))
fig = plt.figure()
man = plt.get_current_fig_manager()
man.canvas.set_window_title("Aydin Studio - image denoising, but chill...")
imgplot = plt.imshow(img)
plt.axis('off')

plt.axis('off')

plt.show(block=False)
plt.pause(4)
plt.close()

plt.show(block=False)
plt.pause(4)
plt.close()
except Exception as ex:
print("no splash screen")

0 comments on commit 7ae393f

Please sign in to comment.