Skip to content

Commit

Permalink
remove workaround as fix was in open v7.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gniezen committed Apr 14, 2020
1 parent d598040 commit 421c105
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions app/main.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,7 @@ operating system, as soon as possible.`,
// no chrome installs found, open user's default browser
open(url);
} else {
let app;
if(platform === 'win32'){
app = `"${chromeInstalls[0]}"`;
} else {
app = chromeInstalls[0];
}
open(url, {app}, function(error){
open(url, {app: chromeInstalls[0]}, function(error){
if(error){
// couldn't open chrome, try OS default
open(url);
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tidepool-uploader",
"productName": "tidepool-uploader",
"version": "2.28.0",
"version": "2.28.1",
"description": "Tidepool Project Universal Uploader",
"main": "./main.prod.js",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tidepool-uploader",
"version": "2.28.0",
"version": "2.28.1",
"description": "Tidepool Project Universal Uploader",
"private": true,
"main": "main.prod.js",
Expand Down

0 comments on commit 421c105

Please sign in to comment.