Naver Whale installler for web application.
npm i @naverwhale/installer
import installer from '@naverwhale/installer';
// Install the Whale browser for the current environment.
installer.install();
// Get installation url for the current environment.
installer.getInstallURL();
Install the Whale browser. You can specify the environment to install with parameter, if not, it will be set as the current environment.
// current environment.
installer.install();
// or window
installer.install('win');
Returns the Whale browser install url. You can specify the environment to install with parameter, if not, it will be set as the current environment.
// current environment.
installer.getInstallURL();
// or window
installer.getInstallURL('win');
interface Installer {
install: (platform?: Platform) => void;
getInstallURL: (platform?: Platform) => string;
}
type Platform =
| 'win'
| 'win_32'
| 'win_64'
| 'win_arm'
| 'win_beta'
| 'mac'
| 'mac_arm'
| 'linux'
| 'iphone'
| 'ipad'
| 'android';