Commit 724dd193 authored by Tasso Evangelista's avatar Tasso Evangelista

Place update.json inside installation directory

parent b5c77090
......@@ -47,11 +47,10 @@
!macroend
!macro writeUpdateFile
FileOpen $4 "$APPDATA\Rocket.Chat\update.json" w
FileWrite $4 "{$\r$\n"
FileOpen $4 '$INSTDIR\resources\update.json' w
FileWrite $4 '{$\r$\n'
FileWrite $4 ' "canUpdate": false,$\r$\n'
FileWrite $4 ' "autoUpdate": false$\r$\n'
FileWrite $4 "}"
FileWrite $4 "$\r$\n"
FileWrite $4 '}$\r$\n'
FileClose $4
!macroend
\ No newline at end of file
!macroend
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment