This repository has been archived by the owner on Sep 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,7 @@ [email protected] | |
[Gecko] | ||
MinVersion=@MIN_VERSION@ | ||
MaxVersion=@MAX_VERSION@ | ||
|
||
[Goanna] | ||
MinVersion=1.9.1 | ||
MaxVersion=9.9.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
var Compat = {}; | ||
|
||
var appInfo = Components.classes["@mozilla.org/xre/app-info;1"] | ||
.getService(Components.interfaces.nsIXULAppInfo); | ||
|
||
Compat.xre_version = appInfo.platformVersion.split('.')[0]; | ||
|
||
Compat.saveUri = function(persist, uri, headers, localFile) { | ||
if (Compat.xre_version >= '36') { | ||
persist.saveURI(uri, null, null, null, null, headers, localFile, null); | ||
} else { | ||
persist.saveURI(uri, null, null, null, headers, localFile, null); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ export BUILD=`date +%Y%m%d` | |
export AUTHOR='Pavan Rikhi([email protected]) and Contributors' | ||
export MAINTAINER='Pavan Rikhi <[email protected]>' | ||
export XPI_NAME='Pencil-'$VERSION'-firefox.xpi' | ||
export MIN_VERSION='36.0' | ||
export MIN_VERSION='4.0' | ||
export MAX_VERSION='53.*' | ||
export UPDATE_URL="https://github.com/prikhi/pencil/releases" | ||
export XULRUNNER_XUL="*" |