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

electron-builder example #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dfabulich
Copy link
Contributor

No description provided.

@ceifa
Copy link
Owner

ceifa commented Aug 29, 2023

We can just install the electron-builder and add the scripts to the "electron" test folder. That way we don't need to maintain two equal html and js files.

@dfabulich
Copy link
Contributor Author

Let me suggest an alternative layout. In addition to test/electron, there could be an examples/electron folder, where the package.json file refers to "steamworks.js": "latest" rather than ../...

As I'm imagining it, goal of the examples is to be dead simple, requiring end users to do as little as possible to get started with steamworks.js.

So, there would be examples/electron/electron-builder, examples/electron/electron-forge, and examples/electron/electron-packager. Since the goal of the examples is to be simple, having extra copies of the html and js would be fine/expected.

WDYT?

@ceifa
Copy link
Owner

ceifa commented Aug 30, 2023

Sounds good, would be nice to add this example too: https://github.com/ceifa/steamworks.js-microtransaction-example

@scottcanoni
Copy link

These examples were helpful for me. I've been struggling to use steamworks.js and these helped. Thank you for adding them!

Is it possible to add an example where we can listen to events from the steam client? Specifically I need to detect when the Steam Overlay opens and closes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants