Ejemplo n.º 1
0
 def pack(self, output_path, extension_path, project_src_path,
          certificates_path):
     name = self.get_full_package_name(self._info)
     outpath = os.path.join(output_path, name)
     zip_file.pack_directory(extension_path, outpath)
     if self._info.update_url.startswith('http://'):
         logger.warning(
             'Firefox requires HTTPS update_path_url with valid certificate'
         )
Ejemplo n.º 2
0
 def _pack_zip(self, dst, src):
     filename = self.get_package_name(self._info) + '_chrome_webstore.zip'
     outpath = os.path.abspath(os.path.join(dst, filename))
     zip_file.pack_directory(src, outpath)
     return outpath
Ejemplo n.º 3
0
 def _pack_zip(self, dst, src):
     filename = self.get_package_name(self._info) + '_chrome_webstore.zip'
     outpath = os.path.abspath(os.path.join(dst, filename))
     zip_file.pack_directory(src, outpath)
     return outpath
Ejemplo n.º 4
0
 def pack(self, output_path, extension_path, project_src_path, certificates_path):
     name = self.get_full_package_name(self._info)
     outpath = os.path.join(output_path, name)
     zip_file.pack_directory(extension_path, outpath)
     if self._info.update_url.startswith('http://'):
         logger.warning('Firefox requires HTTPS update_path_url with valid certificate')