mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-15 15:35:55 +02:00
Installer, Win: allow "pre-release" in version name (inno setup)
git-svn-id: trunk@42825 -
This commit is contained in:
parent
156b1bffea
commit
2899e3dc78
@ -6,8 +6,12 @@ EnableISX=true
|
||||
// A valid file version contains only digits, so drop the RC part
|
||||
#if pos('RC',AppVersion)>0
|
||||
#define FileVersion = copy(AppVersion, 1, pos('RC', AppVersion)-1)
|
||||
#else
|
||||
#define FileVersion = AppVersion
|
||||
#else
|
||||
#if pos('pre',AppVersion)>0
|
||||
#define FileVersion = copy(AppVersion, 1, pos('pre', AppVersion)-1)
|
||||
#else
|
||||
#define FileVersion = AppVersion
|
||||
#endif
|
||||
#endif
|
||||
#define LazRevision GetEnv('LazRevision')
|
||||
#define FPCVersion GetEnv('FPCVersion')
|
||||
|
@ -6,8 +6,12 @@ EnableISX=true
|
||||
// A valid file version contains only digits, so drop the RC part
|
||||
#if pos('RC',AppVersion)>0
|
||||
#define FileVersion = copy(AppVersion, 1, pos('RC', AppVersion)-1)
|
||||
#else
|
||||
#define FileVersion = AppVersion
|
||||
#else
|
||||
#if pos('pre',AppVersion)>0
|
||||
#define FileVersion = copy(AppVersion, 1, pos('pre', AppVersion)-1)
|
||||
#else
|
||||
#define FileVersion = AppVersion
|
||||
#endif
|
||||
#endif
|
||||
#define FPCVersion GetEnv('FPCVersion')
|
||||
#define FPCTargetOS GetEnv('FPCTargetOS')
|
||||
|
Loading…
Reference in New Issue
Block a user