简体   繁体   中英

How do I extend the expiration of Dart's Dartium webbrowser?

I need to avoid upgrading to Dartium 35 or higher because I have an AngularDart application that requires applyAuthorStyles and Chromium 35 has removed that feature. I need to defer the upgrade until I can successfully migrate my application away from its NgComponent-derived classes.

How do I get around Dartium's built-in expiration without altering my system clock?

According to this post you can set an environment variable:

# Set to Jan 2020
export DARTIUM_EXPIRATION_TIME=1577836800

However, this issue says that the change to support the environment variable was reverted.

So, this env variable may work; but if it doesn't, you're probably out luck, since the code looks pretty hard-wired.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM