diff --git a/README.md b/README.md index b52fd959..367e8fd5 100644 --- a/README.md +++ b/README.md @@ -35,3 +35,9 @@ I've created a dedicated discord for this project, feel free to join [here](http # Contributing If you're interested in getting involved please drop me a message on discord and I can give you access to our development channel. Also see [contributing](https://github.com/aza547/wow-recorder/blob/main/docs/CONTRIBUTING.md) docs. + +# Mentions + +The recording done by Warcraft Recorder is made possible by packaging up [OBS](https://obsproject.com/). We wouldn't stand a chance at providing something useful without it. Big thanks to the OBS developers. + +This application is also heavily reliant on the [OBS Studio Node Packge](https://github.com/stream-labs/obs-studio-node) to provide bindings to libOBS. Special mention for the folks over at [Streamlabs](https://streamlabs.com/) for open-sourcing the project. diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index bcfef6b2..5407a662 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Fixed +## [3.10.3] - 2023-04-24 +### Fixed +- [Issue 328](https://github.com/aza547/wow-recorder/issues/328) - Fix a bug where the installer didn't automatically install the Visual C++ Redistributable package from Microsoft. + ## [3.10.2] - 2023-04-23 ### Changed - [Issue 370](https://github.com/aza547/wow-recorder/issues/370) - Show more than the most recent video on home page. diff --git a/installer.nsh b/installer.nsh new file mode 100644 index 00000000..097d2347 --- /dev/null +++ b/installer.nsh @@ -0,0 +1,24 @@ +!macro customInstall + NSISdl::download https://aka.ms/vs/17/release/vc_redist.x64.exe "$INSTDIR\vc_redist.x64.exe" + + ${If} ${FileExists} `$INSTDIR\vc_redist.x64.exe` + ExecWait '$INSTDIR\vc_redist.x64.exe /passive /norestart' $1 + + ${If} $1 != '0' + ${If} $1 != '3010' + MessageBox MB_OK|MB_ICONEXCLAMATION 'WARNING: Warcraft Recorder was unable to install the latest Visual C++ Redistributable package from Microsoft.' + ${EndIf} + ${EndIf} + + # ${If} $1 == '3010' + # MessageBox MB_OK|MB_ICONEXCLAMATION 'You must restart your computer to complete the installation.' + # ${EndIf} + + ${Else} + MessageBox MB_OK|MB_ICONEXCLAMATION 'WARNING: Warcraft Recorder was unable to download the latest Visual C++ Redistributable package from Microsoft.' + ${EndIf} + + FileOpen $0 "$INSTDIR\installername" w + FileWrite $0 $EXEFILE + FileClose $0 +!macroend \ No newline at end of file diff --git a/package.json b/package.json index 715e26fe..1e28e120 100644 --- a/package.json +++ b/package.json @@ -80,6 +80,12 @@ } ] }, + "nsis": { + "oneClick": false, + "allowToChangeInstallationDirectory": true, + "include": "installer.nsh", + "deleteAppDataOnUninstall": true + }, "win": { "target": [ "nsis" diff --git a/release/app/package.json b/release/app/package.json index 1bc32ea0..1365f60d 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,6 +1,6 @@ { "name": "WarcraftRecorder", - "version": "3.10.2", + "version": "3.10.3", "description": "A World of Warcraft screen recorder", "main": "./dist/main/main.js", "author": {