I use Ubuntu 14 and I want to run Chromium(which is called Dartium) from the Launcher and it automatically set DART_FLAGS='--enable_type_checks --enable_asserts'
on every startup. At the moment I run Chromium using:
cd dartium
DART_FLAGS='--enable_type_checks --enable_asserts' ./chrome
But it's really annoying(
You can set environment variables in each supported operating system.
In windows you can configure them using the control panel. In Linux using for example the ~/.bashrc
file by adding export DART_FLAGS='--enable_type_checks --enable_asserts'
. OSX probably similar.
Changes might require a reboot (or just . ~/.bashrc
in Linux).