From 1c4419220bcecb6bd6a3d5ae5ebd5201221e61f9 Mon Sep 17 00:00:00 2001 From: Henri Wahl Date: Wed, 14 Aug 2024 13:33:02 +0200 Subject: [PATCH] Apple Silicon build cleanup --- build/build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/build.py b/build/build.py index f884ef19..124b09d8 100644 --- a/build/build.py +++ b/build/build.py @@ -194,9 +194,9 @@ def macmain(): os.unlink(dmg_file) # create DMG - subprocess.call(['hdiutil create -srcfolder "Nagstamon {0} Staging DMG" ' - '-volname "Nagstamon {0}" -fs HFS+ -format UDRW -size 100M ' - '"Nagstamon {0} uncompressed.dmg"'.format(VERSION)], shell=True) + subprocess.call([f'hdiutil create -srcfolder "Nagstamon {VERSION} Staging DMG" ' + f'-volname "Nagstamon {VERSION}" -fs HFS+ -format UDRW -size 100M ' + f'"Nagstamon {VERSION} uncompressed.dmg"'], shell=True) # Compress DMG subprocess.call([f'hdiutil convert "Nagstamon {VERSION} uncompressed".dmg '