Permalink
Browse files

Fixed permission bug in calling getversion.py to check for new versio…

…n of Epichrome on github. Also fixed a bug that was causing the getversion.py call not to report an error when it failed. Made all python script executable and changed all calls to directly execute them. Changed Makefile so debug target adds a trailing "d" to the version number.
  • Loading branch information...
dmarmor committed Sep 3, 2018
1 parent b8fd369 commit 2be75d6cf8526ccd48b329b18b3ed8675acc3547
View
@@ -1,4 +1,4 @@
# Epichrome 2.2.1
# Epichrome 2.2.2
**Epichrome** is made up of two parts: an AppleScript-based Mac application (*Epichrome.app*) and a companion Chrome extension (*Epichrome Helper*). *Epichrome.app* creates Chrome-based site-specific browsers (SSBs) for Mac OSX (Chrome must be installed in order to run them, but they are full Mac apps, each with its own separate Chrome profile).
@@ -11,11 +11,11 @@ Download the binary release [here](https://github.com/dmarmor/epichrome/releases
See [CHANGELOG.md](https://github.com/dmarmor/epichrome/blob/master/app/CHANGELOG.md "CHANGELOG") for the latest changes.
## New in version 2.2.1
## New in version 2.2
*Note: I'm only addressing serious bugs at the moment. I probably won't have time to work on new features or major updates for the foreseeable future.*
Version 2.2.1 changes Epichrome's underlying architecture significantly in order to allow it to work with Chrome 69, which has added much stricter security.
Version 2.2 changes Epichrome's underlying architecture significantly in order to allow it to work with Chrome 69, which has added much stricter security.
You shouldn't see much change in how your apps work, but there are a couple **important points** to be aware of:
View
@@ -2,7 +2,12 @@
This project adheres to [Semantic Versioning](http://semver.org/).
## [2.2.0] - 2018-09-02
## [2.2.2] - 2018-09-03
### Fixed
- Fixed a permission problem that was causing Epichrome and its apps to silently fail to check github for a new version of Epichrome.
## [2.2.1] - 2018-09-02
### Changed
- Rewrote the engine architecture so it will work with Chrome 69. The Chrome engine now links dynamically at runtime and is deleted on quit. If the installed Chrome is version 69 or later, the engine is now also hard-linked to withstand Chrome 69's much stricter security. Thanks to [webxl](https://github.com/webxl "webxl") and everyone else who reported the problem.
- Added a welcome page that displays the first time a new app is run (or if the profile folder is deleted), with instructions on how to enable Epichrome Helper (which Chrome disables by default).
View
@@ -88,6 +88,7 @@ ${APP}: ${APP_SCPT}/main.scpt \
debug: HOSTMANIFEST_SED='${HOSTMANIFEST_SED_COMMON}${HOSTMANIFEST_SED_DEBUG}'
debug: EXEC_SED='${EXEC_SED_COMMON}${EXEC_SED_DEBUG}'
debug: VERSION:=${VERSION}d
debug: ${APP}
clean:
View
0 app/src/getversion.py 100644 → 100755
No changes.
View
0 app/src/infoplist.py 100644 → 100755
No changes.
View
@@ -884,7 +884,7 @@ function createpayload { # $1 = Contents path
# run python script to filter the InfoPlist.strings files for the
# .lproj directories
local pyerr=
try 'pyerr&=' /usr/bin/python \
try 'pyerr&=' \
"$1/$appStringsScript" "$CFBundleDisplayName" "$CFBundleName" \
"$payloadPath/Resources/"*.lproj \
'Error filtering InfoPlist.strings'
@@ -959,7 +959,7 @@ function filterchromeinfoplist { # PY-CONTENTS-DIR DEST-CONTENTS-DIR FILTER-KEY
# run python script to filter Info.plist
local pyerr=
try 'pyerr&=' /usr/bin/python "$pyContentsDir/Resources/Scripts/infoplist.py" \
try 'pyerr&=' "$pyContentsDir/Resources/Scripts/infoplist.py" \
"$chromeInfoPlist" \
"$tmpInfoPlist" \
"${filterkeys[@]}" 'Error filtering Info.plist file.'
@@ -1023,7 +1023,7 @@ function checkmcssbversion { # CONTENTS-PATH (optional)NOMINAL-VERSION
# call Python script to check github for the latest version
local latestVersion="$( "$1/$appGetVersionScript" 2> /dev/null )"
if [[ "$?" != 0 ]] ; then
ok=0
ok=
errmsg="$latestVersion"
fi
View
0 app/src/strings.py 100644 → 100755
No changes.
View
@@ -1,2 +1,2 @@
# Epichrome version
mcssbVersion=2.2.1
mcssbVersion=2.2.2

0 comments on commit 2be75d6

Please sign in to comment.