Comments (4)
The added size is because the webview is essentially a whole web browser based on Chrome on Windows.
Should Microsoft ever add a shared control based on Edge then I would move to that (it's IE9 atm!!)
I use the inbuilt browser on OSX and it is a lot easier to maintain.
Moving dlls around is not as simple as it sounds. it's not AIR specific.
Please see this Microsoft which explains things
Search Path Used by Windows to Locate a DLL
While it may be possible to dynamically load dlls at runtime through a bit of hackery, many of the dlls used are not under my control. They have their own linking defined.
Believe me I have spent much time trying to link the files in the ANE folder.
I've had push-back from people that they have to copy some dlls and package their apps.
It's just part and parcel of developing Windows apps.
And a small price to pay for the fact that you are actually able to run and control Chrome from inside AIR.
from webviewane.
I just wanted to say thank you for the amazing support on this open-source product!!!!!!!!!!!!
from webviewane.
@born2net No problem
from webviewane.
I have messed around with the files and found that I can externalise most of them without issue.
Currently these are the files I'm including in my app:
CefSharp.BrowserSubprocess.Core.dll
CefSharp.BrowserSubprocess.exe
CefSharp.Core.dll
CefSharp.dll
CefSharp.WinForms.dll
CefSharpLib.dll
FreSharp.dll
FreSharpCore.dll
libEGL.dll
Newtonsoft.Json.dll
These files alone only add about 1mb to my app, the rest of the files must be on the system PATH though. I'm confident more of the files could be externalised with more tinkering (e.g. Newtonsoft.Json.dll) but for now this suits my purposes.
I'm not entirely sure when each file is used, so it's not unlikely I've removed something which shouldn't be removed. I'll keep an eye on this and post here if I need to move some files back into the main app.
from webviewane.
Related Issues (20)
- popup screen (window.open) issues HOT 6
- focus function issue
- How to enable WebRTC (access camera and microphone) HOT 2
- Run the application(exe) with administrator privileges, the webview does not work HOT 1
- Does the webview ane support Windows 7? HOT 6
- Keyboard Shortcuts do not work in Mac (copy, paste, etc) HOT 4
- App crash when try to "init" the ANE (Windows 8.1 x86) HOT 2
- Can't connect localhost when I set 'settings.engine = WebEngine.EDGE;' HOT 2
- Unable to sign Adobe Air Framework on MacOS Big Sur using sign_developerId.sh script HOT 3
- When loading local HTML, if Korean is included in the path, it is not loaded. HOT 5
- How to load two pages at the same time?
- Windows installer Dotnet Runtime download URL 404 HOT 2
- Apple M1: Error #3500: The extension context does not have a method with the name init. HOT 4
- Unhandled exception when using air-tools install due to typo in air_packages.json HOT 1
- FreTypeMismatch HOT 3
- Is there any way to evaluateJavascript/callJavascriptFunction/addCallback/reload/reloadFromOrigin/removeCallback/stopLoading on a tab that is not the current tab? HOT 2
- Feature request : Hide/disable scrollbars HOT 4
- addCallback("jsFunctionName", asFunction) - errors cannot be catched at asFunction by AIR Debug Launcher HOT 1
- The DownloadProgress .percent return wrong value (0 instead of -1) when the receive total size is unknown HOT 2
- Answer please
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webviewane.