Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
feat(AutoUpdate): Add autoupdater, need testing tho
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-bompart committed Jul 17, 2019
1 parent 664d7b5 commit 7888ff2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 1 addition & 5 deletions nyc.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ const typescriptConfig = require("@istanbuljs/nyc-config-typescript");

module.exports = {
...typescriptConfig,
exclude: typescriptConfig.exclude.concat([
".mocharc.js",
"**/{ava,babel,jest,nyc,rollup,webpack,prettier,release}.config.js",
"tools/**/*"
]),
exclude: typescriptConfig.exclude.concat([".mocharc.js", "**/*.config.js", "**/webpack.*.js", "tools/**/*"]),
includes: ["src/**/*.ts"],
reporter: ["lcov", "text"],
all: true
Expand Down
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ let mainWindow: Electron.BrowserWindow;
if (require("electron-squirrel-startup")) {
app.quit();
}

require("update-electron-app")({
repo: "brakacai/discord-ghost"
});
const windowsOption = {
width: 1080,
minWidth: 680,
Expand Down

0 comments on commit 7888ff2

Please sign in to comment.