Documentation ¶
Index ¶
Constants ¶
View Source
const Target = api.ES2020
View Source
const VERSION = "0.2.4"
Variables ¶
View Source
var Engines = []api.Engine{ { Name: api.EngineChrome, Version: "84", }, }
Steam is using Chrome 84
Functions ¶
func BuildEvalScript ¶
func BuildEvalScript(serverPort string, uiMode cdp.UIMode, script, steamPath, authToken, pluginsDir string) (string, error)
BuildEvalScript builds a script to be evaluated in the Steam target context.
func BuildEvalScriptFromFile ¶
func BuildEvalScriptFromFile(serverPort string, uiMode cdp.UIMode, scriptPath, steamPath, authToken, pluginsDir string) (string, error)
BuildEvalScriptFromFile gets a script from a file and builds an eval script with it.
func BundleScripts ¶
func BundleScripts() error
func BundleSharedScripts ¶
func DomChefPlugin ¶
This plugin allows using dom-chef instead of Preact in the given TSX file by adding a comment that says `// @use-dom-chef` at the top of the file. The dom-chef import will override the injected preact shim imports.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.