<commit_before>""" Web runtime based on a chrome app

In contrast to running in the chrome browser, this makes the app have
more the look and feel of a desktop app.
"""

import os
import sys

from .common import DesktopRuntime

# todo: icon, sizing, etc.
# --window-size=200,200

def get_chrome_exe():<commit_msg>add notes on chrome app<commit_after>""" Web runtime based on a chrome app

In contrast to running in the chrome browser, this makes the app have
more the look and feel of a desktop app.

It is possible to make a chrome app with a custom icon on Windows (because
it uses the (initial) favicon of the page) and OS X (because how apps work).
I tried hard to make it work on Linux via a .desktop file, but the problem
is that Chome explicitly sets its icon (Chromium does not). Further, both
Chrome and Chromium reset the process name (arg zero), causing the app to be
grouped with Chrome. This makes Chrome not an ideal runtime for apps; use
the NW runtime to effectively make use of the Chromium runtime.
"""

import os
import sys

from .common import DesktopRuntime

# todo: icon, sizing, etc.
# --window-size=200,200

def get_chrome_exe():
{'fraction_non_alphanumeric': 0.06157849089332177, 'fraction_numerical': 0.010407632263660017, 'mean_word_length': 4.174887892376682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7222424', 'n_tokens_mistral': 337, 'n_tokens_neox': 314, 'n_words': 189}