@@ -119,8 +119,6 @@ object Build {
119
119
120
120
/** Version of Scala CLI to download */
121
121
val scalaCliLauncherVersion = " 1.4.0"
122
- /** Version of Scala CLI to download (on Windows - last known validated version) */
123
- val scalaCliLauncherVersionWindows = " 1.4.0"
124
122
/** Version of Coursier to download for initializing the local maven repo of Scala command */
125
123
val coursierJarVersion = " 2.1.10"
126
124
@@ -2176,10 +2174,21 @@ object Build {
2176
2174
packArchiveName := (dist / packArchiveName).value + " -x86_64-pc-win32" ,
2177
2175
republishBinOverrides += (dist / baseDirectory).value / " bin-native-overrides" ,
2178
2176
republishFetchCoursier := (dist / republishFetchCoursier).value,
2179
- republishExtraProps += (" cli_version" -> scalaCliLauncherVersion),
2180
- mappings += (republishRepo.value / " EXTRA_PROPERTIES" -> " EXTRA_PROPERTIES" ),
2181
2177
republishLaunchers +=
2182
- (" scala-cli.exe" -> s " zip+https://github.com/VirtusLab/scala-cli/releases/download/v $scalaCliLauncherVersionWindows/scala-cli-x86_64-pc-win32.zip!/scala-cli.exe " )
2178
+ (" scala-cli.exe" -> s " zip+https://github.com/VirtusLab/scala-cli/releases/download/v $scalaCliLauncherVersion/scala-cli-x86_64-pc-win32.zip!/scala-cli.exe " )
2179
+ )
2180
+ .settings(
2181
+ Windows / name := " scala" ,
2182
+ Windows / mappings := (Universal / mappings).value,
2183
+ Windows / packageBin := (Windows / packageBin).dependsOn(republish).value,
2184
+ Windows / wixFiles := (Windows / wixFiles).dependsOn(republish).value,
2185
+ // Additional information: https://wixtoolset.org/docs/schema/wxs/package/
2186
+ maintainer := " The Scala Programming Language" , // The displayed maintainer of the package
2187
+ packageSummary := s " Scala $dottyVersion" , // The displayed name of the package
2188
+ packageDescription := """ Installer for the Scala Programming Language""" , // The displayed description of the package
2189
+ wixProductId := " *" , // Unique ID for each generated MSI; will change for each generated msi
2190
+ wixProductUpgradeId := " 3E5A1A82-CA67-4353-94FE-5BDD400AF66B" , // Unique ID to identify the package; used to manage the upgrades
2191
+ wixProductLicense := Some (dist.base / " LICENSE.rtf" ) // Link to the LICENSE to show during the installation (keep in sync with ../LICENSE)
2183
2192
)
2184
2193
2185
2194
lazy val `dist-linux-x86_64` = project.in(file(" dist/linux-x86_64" )).asDist(Bootstrapped )
0 commit comments