I'm currently trying to figure out how to add an auto-updater to my electron app so I don't have to keep updating my google drive link for the app.
I've seen some videos but none really explain how to setup your package.json or how to get a .git file etc.
Currently, my package.json looks like this:
{
"name": "notify",
"version": "1.0.0",
"description": "A prototype version of Notify",
"main": "./Javascript/Main.js",
"dependencies": {
"electron": "^11.2.0",
"electron-is-dev": "^1.2.0",
"electron-log": "^4.3.1",
"electron-packager": "^15.2.0",
"electron-updater": "^4.3.5",
"update-electron-app": "^2.0.1",
"ws": "^7.4.2"
},
"devDependencies": {
"concurrently": "^5.3.0",
"electron": "^11.2.0",
"electron-packager": "^15.2.0",
"npm-run-all": "^4.1.5"
},
"scripts": {
"start": "electron .",
"dev": "concurrently --kill-others \"electron .\" \"electron .\"",
"package-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --prune=true --out=release-builds",
"package-win": "electron-packager . Notify --overwrite --asar=true --platform=win32 --arch=ia32 --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"Notify\"",
"package-linux": "electron-packager . Notify --overwrite --asar=true --platform=linux --arch=x64 --prune=true --out=release-builds"
},
"author": "",
"license": "ISC"
}
I want to set up my package.json for windows devices (preferably others too but mainly windows).
If anyone has any videos / links on how to use the electron-auto-updater with ease please link them aswell. Thank you in advance.