summarylogtreecommitdiffstats
path: root/paths-in-opt.patch
diff options
context:
space:
mode:
authorScore_Under2022-12-21 22:20:31 +0000
committerScore_Under2022-12-21 22:20:31 +0000
commit3d4658f3997427a4bac8a9cfedfbc2a52fd46fd0 (patch)
tree55564c582f576f0d2fd717055e4138493c6e1bc4 /paths-in-opt.patch
parentad62ea53b9ba6f3420eb84ea242f35a8f5cc9e94 (diff)
downloadaur-3d4658f3997427a4bac8a9cfedfbc2a52fd46fd0.tar.gz
Update for v511
Diffstat (limited to 'paths-in-opt.patch')
-rw-r--r--paths-in-opt.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/paths-in-opt.patch b/paths-in-opt.patch
index ab18ff928b54..82c7c5b5f399 100644
--- a/paths-in-opt.patch
+++ b/paths-in-opt.patch
@@ -1,8 +1,8 @@
diff --git a/hydrus/client/gui/ClientGUI.py b/hydrus/client/gui/ClientGUI.py
-index 4b5b1d84..687142fe 100644
+index 95b81fc6..73b02fbf 100644
--- a/hydrus/client/gui/ClientGUI.py
+++ b/hydrus/client/gui/ClientGUI.py
-@@ -6102,7 +6102,7 @@ class FrameGUI( ClientGUITopLevelWindows.MainFrameThatResizes, CAC.ApplicationCo
+@@ -6184,7 +6184,7 @@ class FrameGUI( ClientGUITopLevelWindows.MainFrameThatResizes, CAC.ApplicationCo
python_executable = python_executable.replace( 'pythonw', 'python' )
@@ -12,12 +12,12 @@ index 4b5b1d84..687142fe 100644
cmd = [ python_executable, server_script_path, db_param ]
diff --git a/hydrus/core/HydrusConstants.py b/hydrus/core/HydrusConstants.py
-index 17d995c9..785922d2 100644
+index fab89f7f..21a89dea 100644
--- a/hydrus/core/HydrusConstants.py
+++ b/hydrus/core/HydrusConstants.py
-@@ -7,34 +7,9 @@ import yaml
- # old method of getting frozen dir, doesn't work for symlinks looks like:
- # BASE_DIR = getattr( sys, '_MEIPASS', None )
+@@ -10,34 +10,9 @@ import yaml
+ RUNNING_CLIENT = False
+ RUNNING_SERVER = False
-RUNNING_FROM_FROZEN_BUILD = getattr( sys, 'frozen', False )
-
@@ -53,7 +53,7 @@ index 17d995c9..785922d2 100644
muh_platform = sys.platform.lower()
-@@ -46,32 +21,16 @@ PLATFORM_HAIKU = muh_platform == 'haiku1'
+@@ -49,32 +24,16 @@ PLATFORM_HAIKU = muh_platform == 'haiku1'
RUNNING_FROM_SOURCE = sys.argv[0].endswith( '.py' ) or sys.argv[0].endswith( '.pyw' )
RUNNING_FROM_MACOS_APP = os.path.exists( os.path.join( BASE_DIR, 'running_from_app' ) )