Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
Fix custom app dialog always uses Google Chrome as engine (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
quanglam2807 authored Apr 5, 2018
1 parent dc24e7a commit d76df0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WebCatalog [![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0) [![Travis Build Status](https://travis-ci.org/quanglam2807/webcatalog.svg?branch=master)](https://travis-ci.org/quanglam2807/webcatalog) [![Build status](https://ci.appveyor.com/api/projects/status/6l9ycaxsweytrpg3?svg=true)](https://ci.appveyor.com/project/quanglam2807/webcatalog)

**[WebCatalog](https://getwebcatalog.com)** helps you turn any website into desktop app ([site-specific browser](https://en.wikipedia.org/wiki/Site-specific_browser)). It allows you to pick your preferred web engine: Google Chrome, Chromium ([@vackosar](https://vaclavkosar.com/2018/02/25/Creating-Custom-Ubuntu-Web-Link-App.html)); Firefox ([@natermer](https://www.reddit.com/r/linux/comments/7ivuit/create_firefoxbased_web_apps_for_gnome_and/)); Juli ([@quanglam2807](https://github.com/juli)).
**[WebCatalog](https://getwebcatalog.com)** helps you turn any website into desktop app ([site-specific browser](https://en.wikipedia.org/wiki/Site-specific_browser)). It allows you to pick your preferred web engine: Google Chrome, Chromium ([@vackosar](https://vaclavkosar.com/2018/02/25/Creating-Custom-Ubuntu-Web-Link-App.html)); Firefox ([@natermer](https://www.reddit.com/r/linux/comments/7ivuit/create_firefoxbased_web_apps_for_gnome_and/)); Juli ([@quanglam2807](https://github.com/quanglam2807/juli)).

![WebCatalog for macOS](/build-resources/demo.gif)

Expand Down
3 changes: 2 additions & 1 deletion src/state/dialogs/create-custom-app/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const create = () =>
const state = getState();

const { form } = state.dialogs.createCustomApp;
const { browser } = state.preferences;

const validatedChanges = validate(form, getValidationRules(getState()));
if (hasErrors(validatedChanges)) {
Expand All @@ -79,7 +80,7 @@ export const create = () =>
dispatch(close());

dispatch(createCustomAppCreateRequest());
return installAppAsync(app)
return installAppAsync(app, browser)
.then(() => {
dispatch(createCustomAppCreateSuccess());
dispatch(openSnackbar(STRING_INSTALL_SUCCESSFULLY.replace('{name}', form.name)));
Expand Down

0 comments on commit d76df0a

Please sign in to comment.