Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gh-actions committed Feb 3, 2021
1 parent 93eccd9 commit a59782f
Show file tree
Hide file tree
Showing 156 changed files with 396 additions and 384 deletions.
302 changes: 151 additions & 151 deletions asset-manifest.json

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@ electron_1.protocol.registerSchemesAsPrivileged([
electron_1.app.on("ready", function () {
electron_1.protocol.registerFileProtocol("app", app_protocol_1["default"](path_1.resolve(__dirname)));
win = create_window_1.createWindow();
win.on("closed", function () {
win = undefined;
});
});
electron_1.app.on("window-all-closed", function () {
if (process.platform !== "darwin") {
electron_1.app.quit();
electron_1.app.on("activate", function () {
if (!win) {
win = create_window_1.createWindow();
win.on("closed", function () {
win = undefined;
});
}
});
electron_1.app.on("web-contents-created", function (event, contents) {
contents.on("will-navigate", function (event) {
event.preventDefault();
});
});
electron_1.app.on("activate", function () {
if (win === null) {
create_window_1.createWindow();
}
});
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/scrappy/"/><link rel="icon" href="/scrappy/favicon.ico"/><link rel="icon" type="image/png" href="/scrappy/favicon.64x64.png" sizes="64x64"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><meta http-equiv="Content-Security-Policy" content=" default-src 'none'; font-src 'self' app:; style-src 'self' 'unsafe-inline' app:; script-src 'self' app:; img-src 'self' data: app: https:; connect-src 'self'; manifest-src 'self' app:; "><link rel="apple-touch-icon" href="/scrappy/favicon.512x512.png"/><link rel="manifest" href="/scrappy/manifest.json"/><style>#app-root,body,html{height:100%;padding:0;margin:0;display:flex;flex:1}</style><title>Scrappy</title><link href="/scrappy/static/css/4.3f6ef5e2.chunk.css" rel="stylesheet"><link href="/scrappy/static/css/main.4af68554.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="app-root"></div><script src="/scrappy/static/js/runtime-main.c7c53ea4.js"></script><script src="/scrappy/static/js/4.6e5e6250.chunk.js"></script><script src="/scrappy/static/js/main.dacf6c8a.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/scrappy/"/><link rel="icon" href="/scrappy/favicon.ico"/><link rel="icon" type="image/png" href="/scrappy/favicon.64x64.png" sizes="64x64"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><meta http-equiv="Content-Security-Policy" content=" default-src 'none'; font-src 'self' app:; style-src 'self' 'unsafe-inline' app:; script-src 'self' app:; img-src 'self' data: app: https:; connect-src 'self'; manifest-src 'self' app:; "><link rel="apple-touch-icon" href="/scrappy/favicon.512x512.png"/><link rel="manifest" href="/scrappy/manifest.json"/><style>#app-root,body,html{height:100%;padding:0;margin:0;display:flex;flex:1}</style><title>Scrappy</title><link href="/scrappy/static/css/4.3f6ef5e2.chunk.css" rel="stylesheet"><link href="/scrappy/static/css/main.4af68554.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="app-root"></div><script src="/scrappy/static/js/runtime-main.c330567e.js"></script><script src="/scrappy/static/js/4.e481bd1a.chunk.js"></script><script src="/scrappy/static/js/main.440ae26c.chunk.js"></script></body></html>
7 changes: 4 additions & 3 deletions main/create-window.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ exports.createWindow = function () {
if (!env_helpers_1.isDev) {
electron_1.Menu.setApplicationMenu(new electron_1.Menu());
}
exports.window.on("closed", function () {
logger.info("Window Closed, Quitting Application");
electron_1.app.quit();
electron_1.app.on("window-all-closed", function () {
if (process.platform !== "darwin") {
electron_1.app.quit();
}
});
return exports.window;
};

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a59782f

Please sign in to comment.