File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Changes in [ 0.9.5] ( https://github.com/vector-im/riot-web/releases/tag/v0.9.5 ) (2016-12-24)
2+ ==========================================================================================
3+ [ Full Changelog] ( https://github.com/vector-im/riot-web/compare/v0.9.4...v0.9.5 )
4+
5+ * make electron send email validation URLs with a nextlink of riot.im rather than file:///
6+ * add gnu-tar to debian electron build deps
7+ * fix win32 shortcut in start menu
8+
19Changes in [ 0.9.4] ( https://github.com/vector-im/riot-web/releases/tag/v0.9.4 ) (2016-12-22)
210==========================================================================================
311[ Full Changelog] ( https://github.com/vector-im/riot-web/compare/v0.9.3...v0.9.4 )
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ The only platform that can build packages for all three platforms is macOS:
122122```
123123brew install wine --without-x11
124124brew install mono
125+ brew install gnu-tar
125126npm install
126127npm run build:electron
127128```
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const spawn = require('child_process').spawn;
33const app = require ( 'electron' ) . app ;
44
55function run_update_exe ( args , done ) {
6- const updateExe = path . resolve ( path . dirname ( process . execPath ) , '..' , ' Update.exe') ;
6+ const updateExe = path . resolve ( path . dirname ( process . execPath ) , 'Update.exe' ) ;
77 spawn ( updateExe , args , {
88 detached : true
99 } ) . on ( 'close' , done ) ;
Original file line number Diff line number Diff line change 22 "name" : " riot-web" ,
33 "productName" : " Riot" ,
44 "main" : " electron/src/electron-main.js" ,
5- "version" : " 0.9.4 " ,
5+ "version" : " 0.9.5 " ,
66 "description" : " A feature-rich client for Matrix.org" ,
77 "author" : " Vector Creations Ltd." ,
88 "repository" : {
6767 "highlight.js" : " ^9.0.0" ,
6868 "linkifyjs" : " ^2.1.3" ,
6969 "matrix-js-sdk" : " 0.7.2" ,
70- "matrix-react-sdk" : " 0.8.3 " ,
70+ "matrix-react-sdk" : " 0.8.4 " ,
7171 "modernizr" : " ^3.1.0" ,
7272 "q" : " ^1.4.1" ,
7373 "react" : " ^15.4.0" ,
Original file line number Diff line number Diff line change @@ -136,11 +136,20 @@ var onNewScreen = function(screen) {
136136// click back to the client having registered.
137137// It's up to us to recognise if we're loaded with
138138// this URL and tell MatrixClient to resume registration.
139+ //
140+ // If we're in electron, we should never pass through a file:// URL otherwise
141+ // the identity server will try to 302 the browser to it, which breaks horribly.
142+ // so in that instance, hardcode to use riot.im/app for now instead.
139143var makeRegistrationUrl = function ( ) {
140- return window . location . protocol + '//' +
141- window . location . host +
142- window . location . pathname +
143- '#/register' ;
144+ if ( window . location . protocol === "file:" ) {
145+ return 'https://riot.im/app/#/register' ;
146+ }
147+ else {
148+ return window . location . protocol + '//' +
149+ window . location . host +
150+ window . location . pathname +
151+ '#/register' ;
152+ }
144153}
145154
146155window . addEventListener ( 'hashchange' , onHashChange ) ;
You can’t perform that action at this time.
0 commit comments