Commit 061d9af073f52f9883c34a67b67533e588c1ed92
1 parent
91cd7235
Exists in
master
Making it possible to start invesalius outside of invesalius folder
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app.py
@@ -209,9 +209,9 @@ class Inv3SplashScreen(SplashScreen): | @@ -209,9 +209,9 @@ class Inv3SplashScreen(SplashScreen): | ||
209 | 209 | ||
210 | else: | 210 | else: |
211 | 211 | ||
212 | - path = os.path.join(".","icons", icon_file) | 212 | + path = os.path.join(inv_paths.ICON_DIR, icon_file) |
213 | if not os.path.exists(path): | 213 | if not os.path.exists(path): |
214 | - path = os.path.join(".", "icons", "splash_en.png") | 214 | + path = os.path.join(inv_paths.ICON_DIR, "splash_en.png") |
215 | 215 | ||
216 | bmp = wx.Image(path).ConvertToBitmap() | 216 | bmp = wx.Image(path).ConvertToBitmap() |
217 | 217 |