MacGapProject.github.io | MacGap website | Web Site library
kandi X-RAY | MacGapProject.github.io Summary
kandi X-RAY | MacGapProject.github.io Summary
The MacGap website
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MacGapProject.github.io
MacGapProject.github.io Key Features
MacGapProject.github.io Examples and Code Snippets
Community Discussions
Trending Discussions on MacGapProject.github.io
QUESTION
I am working on a simple text editor that generates and exports files in Markdown, txt, HTML and PDF. This functionality is working like a charm already in the browser. But when it comes to 'app' I am building with MacGap, it doesn't work as expected, instead of downloading the files, it prints them in the same window or doesn't do anything (in the case of PDF).
MacGap has a way to handle write/read files as it is explained here but I am struggling with making it work with javascript.
Here is my code to export the text files:
...ANSWER
Answered 2020-Jun-25 at 09:08Update: MacGap is a great tool but it is a bit obsolete since it is built using objective-C. Those options are the only ones supported by MacGap, so file management is not possible. I ended up building and packaging my app with Electron js. Still the difference in size is insane, but it was the best solution.
MacGap app: 3.6MB
Electron js: 180.5MB
Same app. But, it is ok, hopefully the electron team manages to reduce the size in the future.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MacGapProject.github.io
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page