microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.36k stars 4.27k forks source link

[Package Request]: Stirling PDF #124891

Open dtantono opened 8 months ago

dtantono commented 8 months ago

How can we help?

I would like someone else to build the manifest.

Please read and ensure the following

Please provide the following information

Download Page Url: https://github.com/Frooodle/Stirling-PDF Publisher: Anthony Stirling Package Name: Stirling PDF Description: This is a powerful locally hosted web based PDF manipulation tool using docker that allows you to perform various operations on PDF files Package Version: 0.15.1 Installer URL:https://github.com/Frooodle/Stirling-PDF/releases/download/v0.15.1/Stirling-PDF-with-login.exe or https://github.com/Frooodle/Stirling-PDF/releases/download/v0.15.1/Stirling-PDF.exe

BrandonWanHuanSheng commented 8 months ago

It seem like there is no exe underneath of Stirling-PDF but it might required a Java Dependencies to continue. @dtantono It seem validation-unattended-failure because it look like there is no slient switch supported.

Frooodle commented 8 months ago

Stirling Dev here, just saw this post.. the .exe is included in each release as artifact but is a wrap of a jar and needs java 17 installed to run

BrandonWanHuanSheng commented 8 months ago

It seem like it launch edge to the localhost:8080. Does any switch like do not launch?

Frooodle commented 8 months ago

Yes it runs

                String url = "http://localhost:" + port;

                String os = System.getProperty("os.name").toLowerCase();
                Runtime rt = Runtime.getRuntime();
                if (os.contains("win")) {
                    // For Windows
                    rt.exec("rundll32 url.dll,FileProtocolHandler " + url);

Basically meaning it opens the app server instance in the users default browser

BrandonWanHuanSheng commented 8 months ago

Highly chance is confirmed validation unattended failure. Because need to stop msedge to localhost:8080. Also, there is no other switch like --do-not-launch after the install.