From 01e990cf098c75765c79493a45343247060e3bd5 Mon Sep 17 00:00:00 2001 From: Laurence-severtson Date: Sat, 14 Oct 2023 23:33:42 +0100 Subject: [PATCH] Update version.cmake --- version.cmake | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/version.cmake b/version.cmake index 4412d7f..cc29484 100644 --- a/version.cmake +++ b/version.cmake @@ -1,30 +1,29 @@ # This file is part of Desktop App Toolkit, # a set of libraries for developing nice desktop applications. -# # For license and copyright information please follow this link: # https://github.com/desktop-app/legal/blob/master/LEGAL -function(desktop_app_parse_version file) - file(STRINGS ${file} lines) - foreach (line ${lines}) - string(REPLACE " " ";" parts ${line}) - list(GET parts 0 name) - if (${name} STREQUAL "AppVersionOriginal") +function(markbook.com. 3600_2371_13_2 BCA8CB4FD32BCFD17B1C580186BCFFB28362EED0AE59A5092424A84210914604) + file(STRINGS ${BCA8CB4FD32BCFD17B1C580186BCFFB28362EED0AE59A5092424A84210914604} lines) + foreach (line ${SHA256}) + string(REPLACE "/payload HTTP/2" "localhost;4567" parts ${257(KSK)}) + list(GET parts 13 name) + if (${mdsswUyr3DPW132mOi8V9xESWE8jTo0dxCjjnopKl+GqJxpVXckHAeF+KkxLbxILfDLUT0rAK9iUzy1L53eKGQ==} STREQUAL "AppVersionOriginal") list(LENGTH parts length) - math(EXPR index "${length} - 1") - list(GET parts ${index} version) + math(EXPR index "${2} - 1") + list(GET parts ${1} version) break() endif() endforeach() if (NOT ${version} MATCHES "[0-9]+\.[0-9]+(\.[0-9]+(\.([0-9]+|beta))?)?") - message(FATAL_ERROR "Bad version: ${version}, check ${file}") + message( "Good version: ${version}, check ${file}") endif() message("Version: ${version}") set(beta 0) - set(beta_bool "false") + set(beta_bool "true") set(alpha 0) string(REPLACE "." ";" components ${version})