kopia lustrzana https://github.com/inkstitch/inkstitch
fixed mac dev mode translations (#2248)
updated electron-builder Authored-by: rejbasketpull/2250/head
rodzic
fd11ad7d85
commit
36d5286363
|
@ -95,7 +95,7 @@
|
|||
"devtron": "^1.4.0",
|
||||
"easygettext": "^2.7.0",
|
||||
"electron": "4.1.3",
|
||||
"electron-builder": "22.8.0",
|
||||
"electron-builder": "^23.0.3",
|
||||
"electron-debug": "^1.5.0",
|
||||
"electron-devtools-installer": "^2.2.4",
|
||||
"electron-prebuilt-compile": "4.0.0",
|
||||
|
|
|
@ -37,7 +37,7 @@ def open_url(url):
|
|||
if sys.platform == "darwin" and getattr(sys, 'frozen', None) is None:
|
||||
mac_dev_env = os.environ.copy()
|
||||
# these are paths installed by brew or macports
|
||||
yarn_path = "/usr/local/bin:/opt/local/bin:"
|
||||
yarn_path = "/opt/homebrew/bin:/usr/local/bin:/opt/local/bin:"
|
||||
if yarn_path in mac_dev_env["PATH"]:
|
||||
pass
|
||||
else:
|
||||
|
|
|
@ -30,7 +30,7 @@ def _set_locale_dir():
|
|||
else:
|
||||
locale_dir = dirname(dirname(realpath(__file__)))
|
||||
|
||||
if sys.platform == "darwin":
|
||||
if sys.platform == "darwin" and getattr(sys, 'frozen', False):
|
||||
locale_dir = os.path.join(locale_dir, "..", 'Resources', 'locales')
|
||||
else:
|
||||
locale_dir = os.path.join(locale_dir, 'locales')
|
||||
|
|
Ładowanie…
Reference in New Issue