Skip to content

Commit

Permalink
fix: #759 support rpm bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
jeasonnow committed Jul 31, 2024
1 parent d738c1a commit 78093f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/helpers/merge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ export async function mergeConfig(url: string, options: PakeAppOptions, tauriCon
// Processing targets are currently only open to Linux.
if (platform === 'linux') {
delete tauriConf.bundle.linux.deb.files;
const validTargets = ['all', 'deb', 'appimage'];
const validTargets = ['all', 'deb', 'appimage', 'rpm'];
if (validTargets.includes(options.targets)) {
tauriConf.bundle.targets = options.targets === 'all' ? ['deb', 'appimage'] : [options.targets];
tauriConf.bundle.targets = options.targets === 'all' ? ['deb', 'appimage', 'rpm'] : [options.targets];
} else {
logger.warn(`✼ The target must be one of ${validTargets.join(', ')}, the default 'deb' will be used.`);
}
Expand Down

0 comments on commit 78093f8

Please sign in to comment.