Unlock instant, AI-driven research and patent intelligence for your innovation.

Cross-platform application packaging method based on JavaScript

An application packaging and cross-platform technology, applied in the computer field, can solve the problems of not being able to build multiple operating system applications and reducing development efficiency.

Active Publication Date: 2020-10-23
CHENGDU DBAPP SECURITY
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Electron is a cross-platform desktop application framework of github that uses JavaScript to complete windows, mac, and linux operating systems. However, developers sometimes need to do a lot of customized development for different platforms to meet the unification of different operating systems. function, so that developers cannot completely build applications that satisfy multiple operating systems from one code, and do a lot of redundant work, reducing development efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] A JavaScript-based cross-platform application packaging method mainly includes the following steps:

[0038] 1. First, choose a linux / windows / mac machine to run the automated cross-platform application packaging web platform (hereinafter referred to as the packaging platform).

[0039] 2. Then upload the electron project with completed functions to the packaging platform. When the project is uploaded, an initial version v1 will be created for the code of the project for subsequent comparison and rollback. The operator starts the application packaging by operating the packaging platform (The code should contain modules that need to generate customized functions, that is, the functions of a certain platform need to be realized. For example, if you need to generate menus for different platforms, you need to realize at least one of the three operating systems of linux / windows / mac. ).

[0040] 3. Then enter the automatic customized code process, and use the packaging platfo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a cross-platform application packaging method based on JavaScript. The method comprises the following steps: receiving a desktop application installation package of an operating system, importing an interface code with a completed function, analyzing, deconstructing a module which needs to generate a customized code according to different platforms, injecting a multi-platform customized code into the module, calling an interface code obfuscation and packaging module, and finally generating the desktop application installation package conforming to the operating system.According to the invention, applications meeting multiple operating systems are constructed from one code, so that a large amount of redundant work is reduced, and the development efficiency is improved.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a JavaScript-based cross-platform application packaging method. Background technique [0002] Electron is a cross-platform desktop application framework of github that uses JavaScript to complete windows, mac, and linux operating systems. However, developers sometimes need to do a lot of customized development for different platforms to meet the unification of different operating systems. Functions prevent developers from completely building applications that satisfy multiple operating systems from a single piece of code, and do a lot of redundant work, reducing development efficiency. Contents of the invention [0003] The purpose of the present invention is to provide a cross-platform application packaging method based on JavaScript, aiming at realizing the construction of applications satisfying multiple operating systems from one piece of code. [0004] The p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/71
CPCG06F8/71Y02P90/30
Inventor 廖培淋范渊吴永越郑学新刘韬
Owner CHENGDU DBAPP SECURITY