Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
CorwinAnsley committed Sep 5, 2024
2 parents eaec74a + bcf0d38 commit f19b57e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artifice/update_version_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def update_mac_version_number(version_number, application_name):

def update_windows_version(version_number, application_name):
# Updating the InnoSetup .iss file
replace_line(f'{BASE_PATH}windows_build\dist\{application_name}_installer.iss','AppVersion=',f'AppVersion={version_number}')
replace_line(f'{BASE_PATH}windows_build\dist\{application_name}_installer.iss','OutputBaseFilename=',f'OutputBaseFilename={application_name}v{version_number}_installer_windows')
replace_line(f'{BASE_PATH}windows_build/dist/{application_name}_installer.iss','AppVersion=',f'AppVersion={version_number}')
replace_line(f'{BASE_PATH}windows_build/dist/{application_name}_installer.iss','OutputBaseFilename=',f'OutputBaseFilename={application_name}v{version_number}_installer_windows')

# helper function to replace lines
def replace_line(filepath, search_string, replace_strings, encoding=None):
Expand Down

0 comments on commit f19b57e

Please sign in to comment.