New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nwunity

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nwunity

NW-Unity is a tool for auto packing your Unity WebGL output folder to a NW.js executable folder.

  • 0.2.22
  • PyPI
  • Socket score

Maintainers
1

NW-Unity

LOGO

PyPI - Wheel PyPI - Python Version version

NW-Unity is a tool for auto packing your Unity WebGL output folder to a NW.js executable folder.

Quick Usage

Install by pip on Windows/Linux/MacOS:

pip install nwunity

Install by pip on GameShell:

sudo pip3 install nwunity

Pack your game:

# Package your Unity WebGL game(resolution is 320*240, full screen mode is on) on PC, Linux, or MacOS.
nwunity -d '/path/to/UnityWebGLDir' -n 'MyGame' --width 320 --height 240 --fullscreen

# Package your Unity WebGL files on GameShell.
nwunity -d '/path/to/UnityWebGLDir' -n 'MyGame' -p GameShell

How to use

NW-Unity is easy to use. You can install it by pip.

Install by pip

pip install nwunity

Parameters

You can use nwunity -h or nwunity --help to get help.

FormatParameter Explain
-d --directorySet the root directory of your Unity WebGL files, default is current working directory.
-n --nameSet the name of your game, default is 'Untitled-Game'.
--widthSet the width of your game window, default is 1024.
--heightSet the height of your game window, default is 768.
--fullscreenSet full screen mode on, default is off.
--noframeHide window frame title, default is show.
--resizableSet resizable mode on, default is off.
--transparentSet transparent mode on, default is off.
-p --platformSet platform, default is normal(PC, Linux, MacOS...). Options: GameShell.
-i --iconSet the icon of the game.

GameShell tips

Make sure the OS version of your GameShell is 0.5 or newer.

Switch the GPU Driver of your GameShell to Lima if it's not.

License

The project is under the MIT license.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc