Giter VIP home page Giter VIP logo

Comments (8)

AndrewDWhite avatar AndrewDWhite commented on May 28, 2024

A quick look at a few plugins it appears that the Amazon one has a pretty simple next_setup but should be really looked into.

from webgamelauncher.

AndrewDWhite avatar AndrewDWhite commented on May 28, 2024

A new connection to the Amazon plugin from galaxy.
plugin-amazon-c2cd2e29-8b02-35a9-86fc-3faf90255857.log

from webgamelauncher.

AndrewDWhite avatar AndrewDWhite commented on May 28, 2024

Comparing with the amazon plugin, the launcher would need to watch requested urls and if they match end_uri_regex "end_uri_regex": ".*splash_continue.*" then it should return with that matching url in the next command, #33 . So this will also need to be parsed.

from webgamelauncher.

AndrewDWhite avatar AndrewDWhite commented on May 28, 2024

Any file paths, as in the examples above, would need to be served via the server for the client to have access to links from the current design. Not all work this way and directly pull from remote web pages. Another option is to have a local file that users open that loads up everything via javascript from the server endpoint.

from webgamelauncher.

AndrewDWhite avatar AndrewDWhite commented on May 28, 2024

Getting the final url will be a challenge since it will be considered cross site scripting by browsers. It may require a custom browser for this function and may not be super helpful for integration tests. In the short term getting the values for the next function would probably be easiest to get from galaxy's databases. C:\ProgramData\GOG.com\Galaxy\storage\plugins The data appears to be just base64 encoded.

from webgamelauncher.

AndrewDWhite avatar AndrewDWhite commented on May 28, 2024

May want to look into using selenium for this functionality to allow for plugin developers to create automated tests for validating these.

from webgamelauncher.

AndrewDWhite avatar AndrewDWhite commented on May 28, 2024

For opening the test code in development you can use the fo0llowing command to start it up.
java -cp target/webGameLauncher-0.0.1-SNAPSHOT-jar-with-dependencies.jar LocalClient.MainLocalClient

from webgamelauncher.

AndrewDWhite avatar AndrewDWhite commented on May 28, 2024

Currently not parsing all options passed in just what appear to be the minimum ones required.

from webgamelauncher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.