Repository navigation
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.