Skip to content

Commit

Permalink
Merge pull request #922 from nextcloud/build/add-squirrel-msi
Browse files Browse the repository at this point in the history
build(windows): add Squirrel MSI
  • Loading branch information
ShGKme authored Nov 22, 2024
2 parents fc1b9d9 + 0e9c53d commit e287438
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ function fixArtifactName(artifactPath, platform, arch) {
const artifactName = path.basename(artifactPath)
const ext = path.extname(artifactName)

if (platform === 'win32' && ext !== '.exe') {
// For Windows names are configurable in Squirrel distribution
if (platform === 'win32') {
return artifactPath
}

Expand Down Expand Up @@ -175,8 +176,12 @@ module.exports = {
// App/Filenames
name: CONFIG.winAppId,
setupExe: generateDistName('win32', 'x64', '.exe'),
setupMsi: generateDistName('win32', 'x64', '.msi'),
exe: `${CONFIG.applicationName}.exe`,

// Add MSI for administrated environments
noMsi: false,

// Meta
title: CONFIG.applicationName,
authors: CONFIG.companyName,
Expand Down

0 comments on commit e287438

Please sign in to comment.