Repository navigation
Releases
Releases · mark1russell7/desktop
v0.1.2
v0.1.1
pageHandlerserves the bytes of a reader that gives a view of aSharedArrayBuffer. Before, theResponserefused that body, and the handler threw. Now the handler copies such a view. A view of anArrayBufferstays as it is.
v0.1.0
The first version. The code comes from the app pairrank (packages/desktop/src/index.ts and packages/desktop/src/main.ts).
windowOptions,siteViewPreferencesandcaptureWindowOptionsgive windows and views with a sandbox and context isolation.showWhenReadyshows a window at its first paint, or after a time limit.CONTENT_SECURITY_POLICY,PAGE_SCHEME_PRIVILEGES,pageFile,pageHandlerandpageUrlOfserve the page underapp://page/.allowsNavigation,allowsSiteNavigation,restrictNavigation,denyWindowsandrefuseWebviewsare the rules of navigation.refusePermissionsandrefuseDownloadsare the rules of a session.failureOfandNET_ERRORSgive the reason of a failed load.isMessageandallowsSendercheck an IPC message.returnsKeysgives the keys back to the app from a view of a site.
Runtime dependencies: @mark1russell7/files. Peer dependency: electron, for its types only.