only add more flags when more flags are passed.
Former-commit-id: 3e5b9c049d
Former-commit-id: 5cfea67fa4119ea80a0f94b42805cceabefa7d6a
This commit is contained in:
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
GITHUB_USER=eyedeekay
|
GITHUB_USER=eyedeekay
|
||||||
GITHUB_REPO=i2p.plugins.firefox
|
GITHUB_REPO=i2p.plugins.firefox
|
||||||
GITHUB_NAME="Which fixes one tiny bug that was bothering me"
|
GITHUB_NAME="Which fixes another tiny bug that was bothering me"
|
||||||
GITHUB_DESCRIPTION=$(cat CHANGES.md)
|
GITHUB_DESCRIPTION=$(cat CHANGES.md)
|
||||||
GITHUB_TAG=0.0.11
|
GITHUB_TAG=0.0.12
|
||||||
ant distclean
|
ant distclean
|
||||||
ant jar freeZip
|
ant jar freeZip
|
||||||
github-release release --user "${GITHUB_USER}" \
|
github-release release --user "${GITHUB_USER}" \
|
||||||
|
@ -339,8 +339,10 @@ public class I2PChromium {
|
|||||||
new File(I2PChromiumProfileBuilder.profileDirectory(),"extensions/ublock.js").getAbsolutePath()
|
new File(I2PChromiumProfileBuilder.profileDirectory(),"extensions/ublock.js").getAbsolutePath()
|
||||||
+","+
|
+","+
|
||||||
new File(I2PChromiumProfileBuilder.profileDirectory(),"extensions/scriptsafe.js").getAbsolutePath();*/
|
new File(I2PChromiumProfileBuilder.profileDirectory(),"extensions/scriptsafe.js").getAbsolutePath();*/
|
||||||
for (int i = 0; i < args.length; i++) {
|
if (args.length > 0) {
|
||||||
newArgs[i+20] = args[i];
|
for (int i = 0; i < args.length; i++) {
|
||||||
|
newArgs[i+20] = args[i];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return new ProcessBuilder(newArgs).directory(I2PChromiumProfileBuilder.runtimeDirectory(true));
|
return new ProcessBuilder(newArgs).directory(I2PChromiumProfileBuilder.runtimeDirectory(true));
|
||||||
} else {
|
} else {
|
||||||
|
@ -294,8 +294,10 @@ public class I2PFirefox {
|
|||||||
newArgs[0] = firefox;
|
newArgs[0] = firefox;
|
||||||
newArgs[1] = "--profile";
|
newArgs[1] = "--profile";
|
||||||
newArgs[2] = I2PFirefoxProfileBuilder.profileDirectory();
|
newArgs[2] = I2PFirefoxProfileBuilder.profileDirectory();
|
||||||
for (int i = 0; i < args.length; i++) {
|
if (args.length > 0) {
|
||||||
newArgs[i+3] = args[i];
|
for (int i = 0; i < args.length; i++) {
|
||||||
|
newArgs[i+3] = args[i];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return new ProcessBuilder(newArgs).directory(I2PFirefoxProfileBuilder.runtimeDirectory(true));
|
return new ProcessBuilder(newArgs).directory(I2PFirefoxProfileBuilder.runtimeDirectory(true));
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user