Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation package #147

Open
gtache opened this issue Oct 6, 2020 · 0 comments
Open

Installation package #147

gtache opened this issue Oct 6, 2020 · 0 comments
Labels
Viewer Viewer Module

Comments

@gtache
Copy link
Contributor

gtache commented Oct 6, 2020

Installing and running ICEpdf "natively" would allow for easier distribution.
A suggestion would be InstallBuilder, which proposes a free full-featured license for open source projects.
Otherwise, I've managed to produce working msi and rpm files with the Gradle SetupBuilder plugin with this code sample (not fully configured, it was mainly for testing):

plugins {
    id "de.inetsoftware.setupbuilder" version "4.8.7"
}

setupBuilder {
    vendor = 'BGer'
    application = "ICEpdf"
    appIdentifier = "ICEpdf"
    version = '6.4.0'
    // icons in different sizes for different usage. you can also use a single *.ico or *.icns file
    icons = ['32x32.png', '64x64.png']
    // all files for all platforms
    from( './target' ) {
        include 'icepdf-rt-6.4.0-SNAPSHOT.jar'
    }
    bundleJre = "/usr/java/jre1.8.0_45/"
    mainClass = 'ch.bger.icepdf.ri.viewer.Launcher'
    mainJar = 'icepdf-rt-6.4.0-SNAPSHOT.jar'
    desktopStarter {
        displayName = "ICEpdf"
        description = "ICEpdf service"
        mainJar = 'icepdf-rt-6.4.0-SNAPSHOT.jar'
        mainClass = 'ch.bger.icepdf.ri.viewer.Launcher'
        workDir = '.'
    }
}
rpm {
    architecture = "x86_64"
}
@pcorless pcorless added the Viewer Viewer Module label May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Viewer Viewer Module
Projects
None yet
Development

No branches or pull requests

2 participants