Download and install the electron GUI framework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


package Alien::Electron; use strict; our $VERSION = '0.200'; use File::ShareDir; our $electron_binary; if ($^O =~ /darwin/i) { $electron_binary = File::ShareDir::dist_dir('Alien-Electron') . "/"; } else { $electron_binary = File::ShareDir::dist_dir('Alien-Electron') . "/electron"; } 1; __END__ =head1 NAME Alien::Electron - Download and install the electron GUI framework =head1 DESCRIPTION This package will download a zip file containing github's L and will then install it into its private distribution share directory. The location of the binary is stored in the C<$Alien::Electron::electron_binary> variable: $ perl -MAlien::Electron -E 'say $Alien::Electron::electron_binary' /usr/local/share/perl/5.18.2/auto/share/dist/Alien-Electron/electron Note that you may want to use the L module instead of accessing the C binary directly. =head1 BUILD DEPENDENCIES On linux, the C environment variable must be set otherwise the electron binary will silently fail to start. In the case of running inside a docker container, see the workaround in L. =head1 BUGS Need to get windows support working. =head1 SEE ALSO L L perl interface L L =head1 AUTHOR Doug Hoyte, C<< >> Justin Pacheco =head1 COPYRIGHT & LICENSE Copyright 2015-2016 Doug Hoyte. This module is licensed under the same terms as perl itself. This perl distribution downloads compiled binaries of the Electron project which is copyright (c) 2014 GitHub Inc. and is licensed under the MIT license. =cut