diff --git a/UI/src/app/_components/home/home.component.html b/UI/src/app/_components/home/home.component.html index f335630f..3ce66d9d 100644 --- a/UI/src/app/_components/home/home.component.html +++ b/UI/src/app/_components/home/home.component.html @@ -25,7 +25,7 @@

Tally Web Clients

Documentation

View the documentation and usage instructions online if you need help along the way.

- Documentation Link + Documentation Link

Producer

diff --git a/electron-builder.json b/electron-builder.json index 36fab942..06c135ef 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -5,6 +5,24 @@ }, "publish": ["github"], "extraResources": ["build/**"], + "files": [ + "**/*", + "!**/node_modules/*/{Makefile,CHANGELOG.md,CONTRIBUTING.md,HISTORY.md,History.md,README.md,README,readme.md,readme,LICENSE,license}", + "!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}", + "!**/node_modules/*.d.ts", + "!**/node_modules/.bin", + "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}", + "!.editorconfig", + "!**/.*", + "!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}", + "!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}", + "!**/{appveyor.yml,.travis.yml,circle.yml}", + "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}", + "!**/{UI,docs,.github,bin,release,release_old}", + "!**/Dockerfile", + "!**/Dockerfile.standalone", + "!**/Procfile" + ], "win": { "target": [ "nsis" @@ -13,11 +31,13 @@ "mac": { "target": [ "dmg" - ] + ], + "category": "public.app-category.video" }, "linux": { "target": [ "AppImage" - ] + ], + "category": "AudioVideo" } } \ No newline at end of file diff --git a/main.js b/main.js index f9d6e7e6..190efb35 100644 --- a/main.js +++ b/main.js @@ -130,4 +130,20 @@ if (!gotTheLock) { app.on('window-all-closed', function () { if (process.platform !== 'darwin') app.quit(); }); + + // Listen for web contents being created + app.on('web-contents-created', (e, contents) => { + if (contents.getType() == 'window') { + // Listen for any new window events + contents.on('new-window', (e, url) => { + e.preventDefault(); + const win = new BrowserWindow({ show: false }); + win.maximize(); + win.setMenu(null); + win.webContents.on('did-finish-load', function() { + win.show(); + }); + }); + } + }) }