mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
build/windows: No need to double-define GIMP_MUTEX_VERSION on bundling script
We already take it from config.h
This commit is contained in:
parent
db6e72e6a2
commit
b1eba99e46
1 changed files with 1 additions and 5 deletions
|
@ -71,11 +71,7 @@ with open("config.h") as file:
|
|||
if match:
|
||||
key, value = match.groups()
|
||||
os.environ[key] = value.strip().strip('"').strip("'")
|
||||
if os.getenv('GIMP_UNSTABLE'):
|
||||
gimp_mutex_version = os.getenv('GIMP_APP_VERSION')
|
||||
else:
|
||||
gimp_mutex_version = re.search(r'\d+', os.getenv('GIMP_APP_VERSION')).group()
|
||||
(GIMP_DISTRIB / "gimp.cmd").write_text(f"powershell bin\\gimp-{gimp_mutex_version}.exe\n")
|
||||
(GIMP_DISTRIB / "gimp.cmd").write_text(f"powershell bin\\gimp-{os.getenv('GIMP_MUTEX_VERSION')}.exe\n")
|
||||
|
||||
|
||||
## Settings.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue