evergreen icon indicating copy to clipboard operation
evergreen copied to clipboard

[New app]: Opera [Stable, Beta, Developer, GX]

Open vedantmgoyal9 opened this issue 2 years ago • 1 comments

What is the new application?

https://download.opera.com/download/get/?partner=www&opsys=Windows&product=*&arch=*

where parameters can be:

  • product = ['Opera', 'Opera+GX', 'Opera+beta', 'Opera+developer']
  • arch = ['x64', 'i386']

Also, replace https://download[x].operacdn.com with https://get.geo.opera.com

For example: https://download3.operacdn.com/pub/opera/desktop/83.0.4254.19/win/Opera_83.0.4254.19_Setup.exe to https://get.geo.opera.com/pub/opera/desktop/83.0.4254.19/win/Opera_83.0.4254.19_Setup.exe

If you can find a direct JSON API which I can't, please use that since it would be more reliable than this method.

Vendor site

https://www.opera.com/

Have you reviewed the list of supported applications?

  • [X] Supported apps at: https://stealthpuppy.com/evergreen/apps/

vedantmgoyal9 avatar Jan 21 '22 18:01 vedantmgoyal9

If you use Fiddler to capture Opera checking for an update, it might provide something on their update API.

aaronparker avatar Jan 21 '22 22:01 aaronparker

@aaronparker are beta and developer channels added? I'm not on PC right now so can't verify it.

vedantmgoyal9 avatar Sep 25 '22 02:09 vedantmgoyal9

Not at the moment for OperaGXBrowser or OperaBrowser - would need to go back and work out the queries for those updates.

aaronparker avatar Sep 25 '22 02:09 aaronparker

@spectershell can you please help in finding APIs for Opera Browser Beta & Dev?

vedantmgoyal9 avatar Sep 25 '22 03:09 vedantmgoyal9

@aaronparker please re-open this so that I remember to post updates, if I could find any.

vedantmgoyal9 avatar Sep 25 '22 03:09 vedantmgoyal9

For stable edition:

AutoUpdate API

Invoke-RestMethod -Uri 'https://autoupdate.geo.opera.com/' -Method Post -Body @"
<?xml version="1.0"?>
<autoupdate schema-version="2.2" type="manual">
    <system>
        <platform>
            <opsys>Windows</opsys>
            <opsys-version>10</opsys-version>
            <arch>x64</arch>
            <package>EXE</package>
        </platform>
    </system>
    <product installer-settings-ro="1">
        <name>Opera</name>
        <version>91.0.4516.19</version>
    </product>
</autoupdate>
"@

Downloader (https://net.geo.opera.com/opera/stable/windows) API https://autoupdate.geo.opera.com/v2/netinstaller/Stable/windows/x64

SpecterShell avatar Sep 26 '22 03:09 SpecterShell

For beta edition:

AutoUpdate API

Invoke-RestMethod -Uri 'https://autoupdate.geo.opera.com/' -Method Post -Body @"
<?xml version="1.0"?>
<autoupdate schema-version="2.2" type="manual">
    <system>
        <platform>
            <opsys>Windows</opsys>
            <opsys-version>10</opsys-version>
            <arch>x64</arch>
            <package>EXE</package>
        </platform>
    </system>
    <product>
        <name>Opera beta</name>
        <version>91.0.4516.09</version>
    </product>
</autoupdate>
"@

Change x64 to i386 to get 32bit version.

Downloader (https://net.geo.opera.com/opera/beta/windows) API https://autoupdate.geo.opera.com/v2/netinstaller/Beta/windows/x64

SpecterShell avatar Sep 26 '22 03:09 SpecterShell