Skip to content

Commit

Permalink
2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypp committed Jan 12, 2017
1 parent a18646d commit 03f4bda
Show file tree
Hide file tree
Showing 13 changed files with 217 additions and 115 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
v2.0 (12 January 2017)
* now download and install update is working in background
+ added tray icon and show it when new version found
+ added download control option
+ added "ChromiumBinary" option to set custom Chromium binary file name
- increased download buffer size
- fixed run Chromium when directory contain spaces
- fixed race conditions on download
- fixed relative/environment path generation
- fixed open links if chrlauncher set as default browser
- removed PPAPI from package
- updated readme
- code cleanup

v1.9.4 (16 September 2016)
- fixed localization (issue #32)
+ output debug strings on silent mode
- fixed localization (issue #32)

v1.9.3 (15 September 2016)
+ command line arguments
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016, Henry++.
Copyright (c) 2015-2017, Henry++.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
99 changes: 61 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,75 +4,98 @@

Small and very fast portable launcher and updater for Chromium.

```
To set as default internet browser run SetDefaultBrowser.bat (as admin).
```
#### Default browser:
chrlauncher has feature to use portable Chromium as default browser and it will be open links from another programs through chrlauncher.
- start "SetDefaultBrowser.bat" (as admin).
- start "Control panel" -> "Default programs" -> "Set your default programs" -> "chrlauncher" and set all checkboxes on.

#### Command line
#### Command line:
There is list of arguments overrides .ini options
```
/f - forced update checking
/q - no error messages visible (quiet)
/a - auto download new version of Chromium if present
/b - bring chrlauncher to front on download started
/f - force update checking
/q - no error messages will be shown (quiet)
```
#### Supported browser
#### Supported browser:
- Launcher - Chromium and their clones (like Google Chrome, Yandex Browser and other legitimate trojans!).
- Updater - Chromium only.

#### Folder structure
- \bin - binaries directory.
- \profile - profile directory.
#### Flash Player:
chrlauncher has feature for use portable Flash Player PPAPI.
- download portable Flash Player PPAPI 32-bit/64-bit: http://effect8.ru/soft/media/adobe-flash-player-portable.html
- unpack archive to the "Plugins" folder.
- open "chrlauncher.ini" and find "FlashPlayerPath" option and then set ".\Plugins\%flash_player_dll_name_here%"

#### Settings
#### Settings:
~~~
[chrlauncher]
# Command line for Chromium:
#
# See here:
# http://peter.sh/experiments/chromium-command-line-switches/
#
# Command line for Chromium (string):
# See here: http://peter.sh/experiments/chromium-command-line-switches/
ChromiumCommandLine=--user-data-dir=..\profile --no-default-browser-check --allow-outdated-plugins --disable-component-update
# Chromium binaries directory:
#
# Chromium binaries directory (string):
ChromiumDirectory=.\bin
# Adobe Flash Player PPAPI DLL path:
#
# See here:
# http://effect8.ru/soft/media/adobe-flash-player-portable.html
#
# Chromium binary file name (string):
ChromiumBinary=chrome.exe
# Adobe Flash Player PPAPI portable library path (string):
# Download here: http://effect8.ru/soft/media/adobe-flash-player-portable.html
FlashPlayerPath=.\plugins\pepflashplayer.dll
# Set Chromium binaries architecture:
# Set Chromium binaries architecture (integer):
#
# 0 -> autodetect (default)
# 64 -> 64-bit
# 32 -> 32-bit
#
ChromiumArchitecture=0
# Type of Chromium builds:
# Auto download updates if founded (boolean)
#
# dev-official -> official development builds from snapshots repository (default)
# dev-codecs-sync -> unofficial development builds with codecs from "github.com/henrypp/chromium"
# stable-codecs-sync -> unofficial stable builds with codecs from "github.com/henrypp/chromium"
# dev-codecs-nosync -> unofficial development builds with codecs and without the profile button from "github.com/henrypp/chromium"
# stable-codecs-nosync -> unofficial stable builds with codecs and without the profile button from "github.com/henrypp/chromium"
# false -> show tray tip if update found, downloading manually (default)
# true -> auto download update and install it!
ChromiumAutoDownload=falseboolean
# Bring chrlauncher window when download started (boolean)
#
# false -> don't bring main window to front automatically (default)
# true -> bring chrlauncher window to front when download started
ChromiumBringToFront=false
# Set error mode (boolean):
#
# false -> show warning messages (default)
# true -> no error messages will be shown
ChromiumIsSilent=false
# Type of Chromium builds:
#
# dev-official -> official development builds from snapshots repository "commondatastorage.googleapis.com/chromium-browser-snapshots/index.html"
# dev-codecs-sync -> unofficial development builds with codecs from "github.com/henrypp/chromium/releases" (default)
# stable-codecs-sync -> unofficial stable builds with codecs from "github.com/henrypp/chromium/releases"
# dev-codecs-nosync -> unofficial development builds with codecs and without the profile button from "github.com/henrypp/chromium/releases"
# stable-codecs-nosync -> unofficial stable builds with codecs and without the profile button from "github.com/henrypp/chromium/releases"
ChromiumType=dev-codecs-sync
# Check for new Chromium version once in X days:
# Check for new Chromium version once in X days (integer):
#
# 1 -> check updates once in a 1 day (default)
# 0 -> disable update checking
# 1 -> once in day (default)
#
# -1 -> force update checking
ChromiumCheckPeriod=1
# Last update checking timestamp:
#
ChromiumCheckPeriodLast=0
# Last cached founded build date of Chromium in unix-time format(integer):
ChromiumLastBuild=0
# Last cached update checking timestamp (integer):
ChromiumLastCheck=0
# Last cached founded version of Chromium (string):
ChromiumLastVersion=
~~~
Website: www.henrypp.org<br />
Support: [email protected]<br />
<br />
(c) 2016 Henry++
(c) 2015-2017 Henry++
14 changes: 14 additions & 0 deletions bin/History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
v2.0 (12 January 2017)
* now download and install update is working in background
+ added tray icon and show it when new version found
+ added download control option
+ added "ChromiumBinary" option to set custom Chromium binary file name
- increased download buffer size
- fixed run Chromium when directory contain spaces
- fixed race conditions on download
- fixed relative/environment path generation
- fixed open links if chrlauncher set as default browser
- removed PPAPI from package
- updated readme
- code cleanup

v1.9.4 (16 September 2016)
+ output debug strings on silent mode
- fixed localization (issue #32)
Expand Down
2 changes: 1 addition & 1 deletion bin/License.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016, Henry++.
Copyright (c) 2015-2017, Henry++.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
94 changes: 60 additions & 34 deletions bin/Readme.txt
Original file line number Diff line number Diff line change
@@ -1,71 +1,97 @@
chrlauncher

Small and very fast portable launcher and updater for Chromium.
To set as default internet browser run SetDefaultBrowser.bat (as admin).

Default browser:
chrlauncher has feature to use portable Chromium as default browser and it will be open links from another programs through chrlauncher.
- start "SetDefaultBrowser.bat" (as admin).
- start "Control panel" -> "Default programs" -> "Set your default programs" -> "chrlauncher" and set all checkboxes on.

Command line:
/f - forced update checking
/q - no error messages visible (quiet)
There is list of arguments overrides .ini options.
/a - auto download new version of Chromium if present
/b - bring chrlauncher to front on download started
/f - force update checking
/q - no error messages will be shown (quiet)

Supported browser:
- Launcher - Chromium and their clones (like Google Chrome, Yandex Browser and other legitimate trojans!).
- Updater - Chromium only.

Folder structure:
- \bin - binaries directory.
- \profile - profile directory.
Flash Player:
chrlauncher has feature for use portable Flash Player PPAPI.
- download portable Flash Player PPAPI 32-bit/64-bit: http://effect8.ru/soft/media/adobe-flash-player-portable.html
- unpack archive to the "Plugins" folder.
- open "chrlauncher.ini" and find "FlashPlayerPath" option and then set ".\Plugins\%flash_player_dll_name_here%"

Settings:
[chrlauncher]

# Command line for Chromium:
#
# See here:
# http://peter.sh/experiments/chromium-command-line-switches/
#
# Command line for Chromium (string):
# See here: http://peter.sh/experiments/chromium-command-line-switches/
ChromiumCommandLine=--user-data-dir=..\profile --no-default-browser-check --allow-outdated-plugins --disable-component-update

# Chromium binaries directory:
#
# Chromium binaries directory (string):
ChromiumDirectory=.\bin

# Adobe Flash Player PPAPI DLL path:
#
# See here:
# http://effect8.ru/soft/media/adobe-flash-player-portable.html
#
# Chromium binary file name (string):
ChromiumBinary=chrome.exe

# Adobe Flash Player PPAPI portable library path (string):
# Download here: http://effect8.ru/soft/media/adobe-flash-player-portable.html
FlashPlayerPath=.\plugins\pepflashplayer.dll

# Set Chromium binaries architecture:
# Set Chromium binaries architecture (integer):
#
# 0 -> autodetect (default)
# 64 -> 64-bit
# 32 -> 32-bit
#
ChromiumArchitecture=0

# Type of Chromium builds:
# Auto download updates if founded (boolean)
#
# dev-official -> official development builds from snapshots repository (default)
# dev-codecs-sync -> unofficial development builds with codecs from "github.com/henrypp/chromium"
# stable-codecs-sync -> unofficial stable builds with codecs from "github.com/henrypp/chromium"
# dev-codecs-nosync -> unofficial development builds with codecs and without the profile button from "github.com/henrypp/chromium"
# stable-codecs-nosync -> unofficial stable builds with codecs and without the profile button from "github.com/henrypp/chromium"
# false -> show tray tip if update found, downloading manually (default)
# true -> auto download update and install it!
ChromiumAutoDownload=falseboolean

# Bring chrlauncher window when download started (boolean)
#
ChromiumType=dev-official
# false -> don't bring main window to front automatically (default)
# true -> bring chrlauncher window to front when download started
ChromiumBringToFront=false

# Check for new Chromium version once in X days:
# Set error mode (boolean):
#
# 0 -> disable update checking
# 1 -> once in day (default)
# false -> show warning messages (default)
# true -> no error messages will be shown
ChromiumIsSilent=false

# Type of Chromium builds:
#
ChromiumCheckPeriod=1
# dev-official -> official development builds from snapshots repository "commondatastorage.googleapis.com/chromium-browser-snapshots/index.html"
# dev-codecs-sync -> unofficial development builds with codecs from "github.com/henrypp/chromium/releases" (default)
# stable-codecs-sync -> unofficial stable builds with codecs from "github.com/henrypp/chromium/releases"
# dev-codecs-nosync -> unofficial development builds with codecs and without the profile button from "github.com/henrypp/chromium/releases"
# stable-codecs-nosync -> unofficial stable builds with codecs and without the profile button from "github.com/henrypp/chromium/releases"
ChromiumType=dev-codecs-sync

# Last update checking timestamp:
# Check for new Chromium version once in X days (integer):
#
ChromiumCheckPeriodLast=0
# 1 -> check updates once in a 1 day (default)
# 0 -> disable update checking
# -1 -> force update checking
ChromiumCheckPeriod=1

# Last cached founded build date of Chromium in unix-time format(integer):
ChromiumLastBuild=0

# Last cached update checking timestamp (integer):
ChromiumLastCheck=0

# Last cached founded version of Chromium (string):
ChromiumLastVersion=

Website: www.henrypp.org
Support: [email protected]

(c) 2016 Henry++
(c) 2015-2017 Henry++
2 changes: 1 addition & 1 deletion bin/SetDefaultBrowser.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if not exist "%CHRLAUNCHER_PATH%" (

reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities" /v "ApplicationIcon" /t REG_SZ /d "%CHRLAUNCHER_ICON%" /f
reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities" /v "ApplicationName" /t REG_SZ /d "chrlauncher" /f
reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities" /v "ApplicationDescription" /t REG_SZ /d "Chromium (portable)" /f
reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities" /v "ApplicationDescription" /t REG_SZ /d "Chromium portable launcher and updater" /f

reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\FileAssociations" /v ".htm" /t REG_SZ /d "chrlauncherHTML" /f
reg add "HKLM\Software\Clients\StartMenuInternet\chrlauncher\Capabilities\FileAssociations" /v ".html" /t REG_SZ /d "chrlauncherHTML" /f
Expand Down
Loading

0 comments on commit 03f4bda

Please sign in to comment.