@kidonng/tron
v0.2.1
Published
> Launch Electron windows from the command line
Downloads
16
Readme
Tron
Launch Electron windows from the command line
npx @kidonng/tron example.comUsage
npx @kidonng/tron [options] <url>Options are treated as BaseWindowConstructorOptions.
| Tools Menu | Context Menu |
|--------------------------------------|------------------------------------------|
|
|
|
Examples
Specify window size:
npx @kidonng/tron --width=1024 --height=768 example.comDisable window frame:
# Use --no-option to disable an option
# https://github.com/yargs/yargs/blob/main/docs/tricks.md#negating-boolean-arguments
npx @kidonng/tron --no-frame example.comAlways on top:
# Use -- to avoid URL being parsed as option value
# https://github.com/yargs/yargs/blob/main/docs/tricks.md#stop-parsing
npx @kidonng/tron --always-on-top -- example.comTips & Tricks
- The URL's protocol (
https://) is optional. - Browsing data is partitioned based on the URL's host.
- On macOS, frameless windows can be dragged via a global shortcut.
See Also
- broz - inspired this project
