Closed ConorIA closed 6 years ago
Hi @ConorIA, thanks for flagging.
Does this patch help you creating the correct package?
diff --git a/Gruntfile.js b/Gruntfile.js
index c3fa454..7714783 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -200,9 +200,10 @@ module.exports = function(grunt) {
options: {
arch: grunt.option('arch') || process.arch,
linux: {
- ...LINUX_SETTINGS,
- fpm: ['--name', 'wire-desktop'],
+ category: 'Network',
+ executableName: 'wire-desktop',
},
+ productName: 'wire-desktop',
targets: [grunt.option('target') || 'dir'],
},
},
@ffflorian, I'm getting complaints about the before/afterinstall in LINUX_SETTINGS
and the fpm config line as being invalid configuration options. I can rebuild using the patch in my comment. I think the fpm is no longer necessary if replaced with executable_name, but where to put the before/after install. Perhaps under the Deb target?
EDIT: Sorry, @ffflorian. I don't know what I was answering when I woke up this morning. Yes. the provided patch works fine to fix the build. If it doesn't break anything else, then it should be included in the next release. Cheers!
And just in case you don't see the edit above, pinging @ffflorian!
While we're looking at the Gruntfile, if I am not mistaken, LINUX_SETTINGS -> desktop -> Version
refers to the .desktop
file version (i.e. spec 1.1), and shouldn't be '<%= info.version %>.<%= buildNumber %>'
.
Thanks, I'll have a look tomorrow!
Can you folks help me troubleshoot the failed build on 3.3.2872.
Steps:
npm install
$(npm bin)/grunt 'linux-other'
EDIT (2): The following changes allow the build to continue, but aren't a universal fix as they will break the deb stuff