Skip to content

Commit

Permalink
installer tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
steveseguin committed Oct 26, 2024
1 parent 242ff88 commit 60ddbc9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 12 deletions.
11 changes: 11 additions & 0 deletions installer.nsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
!macro customInstall
ReadEnvStr $0 "PATH"
FileOpen $1 "$INSTDIR\path_backup.txt" w
FileWrite $1 "$0$\r$\n"
FileClose $1

SetOutPath $INSTDIR
StrCpy $1 "$0;$INSTDIR"
WriteRegExpandStr HKCU "Environment" "PATH" $1
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
!macroend
8 changes: 4 additions & 4 deletions package-lock.json

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

12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "VDON.Electron.Capture.App",
"version": "2.18.5",
"version": "2.18.6",
"description": "A simple tool to aid with frameless window video capture and VDON publishing",
"author": "Steve Seguin <[email protected]>",
"main": "main.js",
Expand All @@ -20,7 +20,7 @@
},
"build": {
"appId": "capture.electron",
"productName": "ElectronCapture",
"productName": "elecap",
"files": [
"**/*",
"build/Release/*",
Expand Down Expand Up @@ -88,7 +88,11 @@
"runAfterFinish": true,
"installerIcon": "assets/icons/win/icon.ico",
"artifactName": "elecap-${version}.${ext}",
"differentialPackage": false
"differentialPackage": false,
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"include": "installer.nsh"
},
"portable": {
"artifactName": "elecap.exe",
Expand All @@ -111,7 +115,7 @@
"afterSign": "./afterSign.js"
},
"devDependencies": {
"electron": "^32.1.2",
"electron": "^33.0.1",
"electron-builder": "^24.13.3",
"electron-notarize": "git://github.com/electron/notarize.git",
"rimraf": "^5.0.5",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -798,10 +798,10 @@ [email protected]:
lodash.debounce "^4.0.8"
serialize-error "^8.1.0"

electron@^32.1.2:
version "32.1.2"
resolved "https://registry.npmjs.org/electron/-/electron-32.1.2.tgz"
integrity sha512-CXe6doFzhmh1U7daOvUzmF6Cj8hssdYWMeEPRnRO6rB9/bbwMlWctcQ7P8NJXhLQ88/vYUJQrJvlJPh8qM0BRQ==
electron@^33.0.1:
version "33.0.1"
resolved "https://registry.npmjs.org/electron/-/electron-33.0.1.tgz"
integrity sha512-PipPnWH4gvf7o+P8jlKQZGgPfb5eHcLgTrnKkFzb98MXhyPjVJYCR7YWqcawZ8IfyJCut8vMxLuBFLT1Ag8TSQ==
dependencies:
"@electron/get" "^2.0.0"
"@types/node" "^20.9.0"
Expand Down

0 comments on commit 60ddbc9

Please sign in to comment.