Compare commits
34 Commits
Author | SHA1 | Date | |
---|---|---|---|
8397d7415b | |||
f9279f494f | |||
e3c2ab91be | |||
a8a54f6b4c | |||
995e9805a2 | |||
f3e7c28503 | |||
6042f30350 | |||
ab226e5a4c | |||
e632a49933 | |||
beef36b36d | |||
2ed27fa307 | |||
1a5ce21912 | |||
7754c0b43d | |||
b4b2a30935 | |||
81f58b9d48 | |||
02ac99531a | |||
2b2aea0748 | |||
09e6864cb9 | |||
f954bf4893 | |||
21f74306c8 | |||
ccde6b65dc | |||
f348347115 | |||
ef19f681d0 | |||
1b60e74f9d | |||
9a052f4f3c | |||
1e94b34efe | |||
01c19d1ffd | |||
de6b872426 | |||
27cb5b8365 | |||
2d508e1417 | |||
d6a62bb6ee | |||
4095e61ad3 | |||
f107bf92b2 | |||
bf2e964e1a |
3
.gitignore
vendored
3
.gitignore
vendored
@ -16,3 +16,6 @@ i2pbrowser/
|
||||
/i2pbrowser*.deb
|
||||
/i2pbrowser*.rpm
|
||||
/logs
|
||||
/*.jar
|
||||
/*.msi
|
||||
/*.exe
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
@ -142,6 +147,9 @@
|
||||
<li>
|
||||
Add support for building an .rpm package.
|
||||
</li>
|
||||
<li>
|
||||
Destroy headless process if it goes too long.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<a href="#mon-september-5" rel="nofollow">
|
||||
|
@ -5,6 +5,7 @@ Tue, September 6
|
||||
- Add support for building an .exe package.
|
||||
- Add support for building an .zip Windows portable package.
|
||||
- Add support for building an .rpm package.
|
||||
- Destroy headless process if it goes too long.
|
||||
|
||||
Mon, September 5
|
||||
----------------
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
@ -187,6 +192,9 @@
|
||||
<li>
|
||||
java.util.ArrayList
|
||||
</li>
|
||||
<li>
|
||||
java.util.concurrent.TimeUnit
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
<h2>
|
||||
@ -279,7 +287,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
FIND_FIREFOX_SEARCH_PATHS_UNIX
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L45" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L46" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -308,7 +316,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
FIND_FIREFOX_SEARCH_PATHS_OSX
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L60" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L61" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -337,7 +345,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
FIND_FIREFOX_SEARCH_PATHS_WINDOWS
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L77" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L78" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -366,7 +374,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
FIND_ALL_FIREFOX_SEARCH_PATHS
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L113" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L114" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -395,7 +403,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
FIND_FIREFOX_SEARCH_PATHS
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L133" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L134" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -424,7 +432,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
NEARBY_FIREFOX_SEARCH_PATHS
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L147" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L148" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -453,7 +461,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
FIREFOX_FINDER
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L203" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L204" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -482,7 +490,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
getOperatingSystem
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L215" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L216" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -511,7 +519,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
onlyValidFirefoxes
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L237" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L238" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -537,7 +545,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
topFirefox
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L257" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L258" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -563,7 +571,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
topFirefox
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L286" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L287" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -593,7 +601,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
defaultProcessBuilder
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L304" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L305" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -619,7 +627,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
defaultProcessBuilder
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L316" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L317" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -649,7 +657,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
privateProcessBuilder
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L330" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L331" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -675,7 +683,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
privateProcessBuilder
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L343" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L344" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -705,7 +713,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
headlessProcessBuilder
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L365" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L366" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -735,7 +743,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
processBuilder
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L388" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L389" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -765,7 +773,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
waitForProxy
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L422" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L423" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -791,7 +799,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
waitForProxy
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L432" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L433" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -821,7 +829,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
waitForProxy
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L444" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L445" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -853,7 +861,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
waitForProxy
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L457" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L458" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -887,7 +895,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
checkifPortIsOccupied
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L471" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L472" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -919,7 +927,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
usabilityMode
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L481" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L482" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -945,7 +953,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
launchAndDetatch
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L488" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L489" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -977,7 +985,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
launch
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L551" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L554" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1009,7 +1017,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
launch
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L575" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L578" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1039,7 +1047,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
launch
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L585" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L588" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1065,7 +1073,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
ValidURL
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L587" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L590" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1098,7 +1106,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
main
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L598" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L601" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
@ -1131,7 +1139,7 @@
|
||||
<span></span>
|
||||
</a>
|
||||
sleep
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L627" rel="nofollow">
|
||||
<a href="src/java/net/i2p/i2pfirefox/I2PFirefox.java#L630" rel="nofollow">
|
||||
[src]
|
||||
</a>
|
||||
</h3>
|
||||
|
@ -21,6 +21,7 @@ package: net.i2p.i2pfirefox
|
||||
<li>java.io.IOException</li>
|
||||
<li>java.net.Socket</li>
|
||||
<li>java.util.ArrayList</li>
|
||||
<li>java.util.concurrent.TimeUnit</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
@ -55,7 +56,7 @@ package: net.i2p.i2pfirefox
|
||||
|
||||
## Methods
|
||||
|
||||
### FIND_FIREFOX_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L45)
|
||||
### FIND_FIREFOX_SEARCH_PATHS_UNIX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L46)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -65,7 +66,7 @@ package: net.i2p.i2pfirefox
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### FIND_FIREFOX_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L60)
|
||||
### FIND_FIREFOX_SEARCH_PATHS_OSX [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L61)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -75,7 +76,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### FIND_FIREFOX_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L77)
|
||||
### FIND_FIREFOX_SEARCH_PATHS_WINDOWS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L78)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -85,7 +86,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### FIND_ALL_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L113)
|
||||
### FIND_ALL_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L114)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -95,7 +96,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### FIND_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L133)
|
||||
### FIND_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L134)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -105,7 +106,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### NEARBY_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L147)
|
||||
### NEARBY_FIREFOX_SEARCH_PATHS [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L148)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -115,7 +116,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### FIREFOX_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L203)
|
||||
### FIREFOX_FINDER [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L204)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -125,7 +126,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L215)
|
||||
### getOperatingSystem [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L216)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -135,7 +136,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### onlyValidFirefoxes [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L237)
|
||||
### onlyValidFirefoxes [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L238)
|
||||
|
||||
+ Description: Check our list of firefox paths for a valid firefox binary. Just an existence check for now but should check versions in the future.
|
||||
+ Access: public
|
||||
@ -144,7 +145,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L257)
|
||||
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L258)
|
||||
|
||||
+ Description: Return the best available Firefox from the list of Firefoxes we have.
|
||||
+ Access: public
|
||||
@ -153,7 +154,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L286)
|
||||
### topFirefox [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L287)
|
||||
|
||||
+ Description: Return the best available Firefox from the list of Firefoxes we have. if override is passed it will be validated and if it validates it will be used.
|
||||
+ Access: public
|
||||
@ -164,7 +165,7 @@ This method has no parameters.
|
||||
| overrideFirefox | String | |
|
||||
|
||||
|
||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L304)
|
||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L305)
|
||||
|
||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
|
||||
+ Access: public
|
||||
@ -173,7 +174,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L316)
|
||||
### defaultProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L317)
|
||||
|
||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile.
|
||||
+ Access: public
|
||||
@ -184,7 +185,7 @@ This method has no parameters.
|
||||
| args | String[] | the args to pass to the Firefox binary |
|
||||
|
||||
|
||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L330)
|
||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L331)
|
||||
|
||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
|
||||
+ Access: public
|
||||
@ -193,7 +194,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L343)
|
||||
### privateProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L344)
|
||||
|
||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --private-window flag to open a window.
|
||||
+ Access: public
|
||||
@ -204,7 +205,7 @@ This method has no parameters.
|
||||
| args | String[] | the arguments to pass to the Firefox binary |
|
||||
|
||||
|
||||
### headlessProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L365)
|
||||
### headlessProcessBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L366)
|
||||
|
||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile. Pass the --headless flag to open without a window.
|
||||
+ Access: public
|
||||
@ -215,7 +216,7 @@ This method has no parameters.
|
||||
| args | String[] | the arguments to pass to the Firefox binary |
|
||||
|
||||
|
||||
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L388)
|
||||
### processBuilder [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L389)
|
||||
|
||||
+ Description: Build a ProcessBuilder for the top Firefox binary and the default profile with a specific set of extended arguments.
|
||||
+ Access: public
|
||||
@ -226,7 +227,7 @@ This method has no parameters.
|
||||
| args | String[] | the extended arguments to pass to the Firefox binary. |
|
||||
|
||||
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L422)
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L423)
|
||||
|
||||
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of 200 seconds.
|
||||
+ Access: public
|
||||
@ -235,7 +236,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L432)
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L433)
|
||||
|
||||
+ Description: Waits for an HTTP proxy on port 4444 to be ready. Returns false on timeout of the specified number of seconds.
|
||||
+ Access: public
|
||||
@ -246,7 +247,7 @@ This method has no parameters.
|
||||
| timeout | int | the number of seconds to wait for the proxy to be ready. |
|
||||
|
||||
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L444)
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L445)
|
||||
|
||||
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
|
||||
+ Access: public
|
||||
@ -258,7 +259,7 @@ This method has no parameters.
|
||||
| port | int | the port to wait for the proxy to be ready on. |
|
||||
|
||||
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L457)
|
||||
### waitForProxy [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L458)
|
||||
|
||||
+ Description: Waits for an HTTP proxy on the specified port to be ready. Returns false on timeout of the specified number of seconds.
|
||||
+ Access: public
|
||||
@ -271,7 +272,7 @@ This method has no parameters.
|
||||
| host | String | the host to wait for the proxy to be ready on. |
|
||||
|
||||
|
||||
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L471)
|
||||
### checkifPortIsOccupied [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L472)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -283,7 +284,7 @@ This method has no parameters.
|
||||
| host | String | |
|
||||
|
||||
|
||||
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L481)
|
||||
### usabilityMode [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L482)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -292,7 +293,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L488)
|
||||
### launchAndDetatch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L489)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
@ -304,7 +305,7 @@ This method has no parameters.
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L551)
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L554)
|
||||
|
||||
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
|
||||
+ Access: public
|
||||
@ -316,7 +317,7 @@ This method has no parameters.
|
||||
| url | String[] | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L575)
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L578)
|
||||
|
||||
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory.
|
||||
+ Access: public
|
||||
@ -327,7 +328,7 @@ This method has no parameters.
|
||||
| privateWindow | boolean | |
|
||||
|
||||
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L585)
|
||||
### launch [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L588)
|
||||
|
||||
+ Description: Populates a profile directory with a proxy configuration. Waits for an HTTP proxy on the port 4444 to be ready. Launches Firefox with the profile directory. Uses a semi-permanent profile.
|
||||
+ Access: public
|
||||
@ -336,7 +337,7 @@ This method has no parameters.
|
||||
This method has no parameters.
|
||||
|
||||
|
||||
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L587)
|
||||
### ValidURL [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L590)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
@ -348,7 +349,7 @@ This method has no parameters.
|
||||
| inUrl | String | |
|
||||
|
||||
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L598)
|
||||
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L601)
|
||||
|
||||
+ Description:
|
||||
+ Access: public
|
||||
@ -360,7 +361,7 @@ This method has no parameters.
|
||||
| args | String[] | |
|
||||
|
||||
|
||||
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L627)
|
||||
### sleep [[src]](src/java/net/i2p/i2pfirefox/I2PFirefox.java#L630)
|
||||
|
||||
+ Description:
|
||||
+ Access: private
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
@ -129,6 +134,51 @@
|
||||
</a>
|
||||
Packages for various operating systems
|
||||
</h1>
|
||||
<h2>
|
||||
<a href="#making-a-new-release" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Making a new release:
|
||||
</h2>
|
||||
<p>
|
||||
Releases can be created in a mostly automatic way. With a working Java toolchain
|
||||
including jpackage installed:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
Set a
|
||||
<code>
|
||||
GITHUB_TOKEN
|
||||
</code>
|
||||
in the environment containing an API key.
|
||||
</li>
|
||||
<li>
|
||||
Update the version number(
|
||||
<code>
|
||||
GITHUB_TAG
|
||||
</code>
|
||||
) and version title(
|
||||
<code>
|
||||
GITHUB_NAME
|
||||
</code>
|
||||
) in
|
||||
<code>
|
||||
config.sh
|
||||
</code>
|
||||
</li>
|
||||
<li>
|
||||
On a Linux machine, run
|
||||
<code>
|
||||
./release.sh
|
||||
</code>
|
||||
</li>
|
||||
<li>
|
||||
On a Windows machine, run
|
||||
<code>
|
||||
./windows-release.sh
|
||||
</code>
|
||||
</li>
|
||||
</ol>
|
||||
<h2>
|
||||
<a href="#windows" rel="nofollow">
|
||||
<span></span>
|
||||
@ -168,15 +218,15 @@
|
||||
</a>
|
||||
MSI
|
||||
</h3>
|
||||
<p>
|
||||
Requires the Wixl toolset.
|
||||
</p>
|
||||
<h4>
|
||||
<a href="#status-works-maintained" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Status: Works. Maintained.
|
||||
</h4>
|
||||
<p>
|
||||
Requires the Wixl toolset.
|
||||
</p>
|
||||
<p>
|
||||
run:
|
||||
<code>
|
||||
@ -189,15 +239,15 @@
|
||||
</a>
|
||||
EXE
|
||||
</h4>
|
||||
<p>
|
||||
No special requirements.
|
||||
</p>
|
||||
<h4>
|
||||
<a href="#status-works-maintained" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Status: Works. Maintained.
|
||||
</h4>
|
||||
<p>
|
||||
No special requirements.
|
||||
</p>
|
||||
<p>
|
||||
run:
|
||||
<code>
|
||||
@ -210,15 +260,15 @@
|
||||
</a>
|
||||
Portable(.zip)
|
||||
</h3>
|
||||
<p>
|
||||
No special requirements.
|
||||
</p>
|
||||
<h4>
|
||||
<a href="#status-unknown-maintained" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Status: Unknown. Maintained.
|
||||
</h4>
|
||||
<p>
|
||||
No special requirements.
|
||||
</p>
|
||||
<p>
|
||||
run:
|
||||
<code>
|
||||
@ -247,15 +297,15 @@
|
||||
</a>
|
||||
Debian
|
||||
</h3>
|
||||
<p>
|
||||
Make sure you have a recent Java and jpackage.
|
||||
</p>
|
||||
<h4>
|
||||
<a href="#status-works-maintained" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Status: Works. Maintained.
|
||||
</h4>
|
||||
<p>
|
||||
Make sure you have a recent Java and jpackage.
|
||||
</p>
|
||||
<p>
|
||||
run:
|
||||
<code>
|
||||
@ -268,12 +318,6 @@
|
||||
</a>
|
||||
Fedora
|
||||
</h3>
|
||||
<h4>
|
||||
<a href="#status-unknown-maintained" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Status: Unknown. Maintained.
|
||||
</h4>
|
||||
<p>
|
||||
I'm a Debian user and don't have a Fedora machine set up right now. Therefore,
|
||||
I build Fedora packages in a container.
|
||||
@ -283,6 +327,12 @@
|
||||
Adoptium's third-party repository to supply the JDK I use to build the fedora
|
||||
package.
|
||||
</p>
|
||||
<h4>
|
||||
<a href="#status-unknown-maintained" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Status: Unknown. Maintained.
|
||||
</h4>
|
||||
<p>
|
||||
run:
|
||||
<code>
|
||||
@ -295,15 +345,15 @@
|
||||
</a>
|
||||
Portable(.zip)
|
||||
</h3>
|
||||
<p>
|
||||
Details are platform dependent. Same build-deps as everything else.
|
||||
</p>
|
||||
<h4>
|
||||
<a href="#status-works-maintained" rel="nofollow">
|
||||
<span></span>
|
||||
</a>
|
||||
Status: Works. Maintained.
|
||||
</h4>
|
||||
<p>
|
||||
Details are platform dependent. Same build-deps as everything else.
|
||||
</p>
|
||||
<p>
|
||||
run:
|
||||
<code>
|
||||
|
36
PACKAGES.md
36
PACKAGES.md
@ -1,6 +1,18 @@
|
||||
Packages for various operating systems
|
||||
======================================
|
||||
|
||||
Making a new release:
|
||||
---------------------
|
||||
|
||||
Releases can be created in a mostly automatic way. With a working Java toolchain
|
||||
including jpackage installed:
|
||||
|
||||
0. Set a `GITHUB_TOKEN` in the environment containing an API key.
|
||||
1. Update the version number(`GITHUB_TAG`) and version title(`GITHUB_NAME`) in `config.sh`
|
||||
2. On a Linux machine, run `./release.sh`
|
||||
3. On a Windows machine, run `./windows-release.sh`
|
||||
|
||||
|
||||
Windows
|
||||
-------
|
||||
|
||||
@ -14,26 +26,26 @@ run: `windows-release.sh` only *after* release.sh on a Linux machine.
|
||||
|
||||
### MSI
|
||||
|
||||
#### Status: Works. Maintained.
|
||||
|
||||
Requires the Wixl toolset.
|
||||
|
||||
#### Status: Works. Maintained.
|
||||
|
||||
run: `./windows.sh`
|
||||
|
||||
#### EXE
|
||||
|
||||
#### Status: Works. Maintained.
|
||||
|
||||
No special requirements.
|
||||
|
||||
#### Status: Works. Maintained.
|
||||
|
||||
run: `./windows-exe.sh`
|
||||
|
||||
### Portable(.zip)
|
||||
|
||||
#### Status: Unknown. Maintained.
|
||||
|
||||
No special requirements.
|
||||
|
||||
#### Status: Unknown. Maintained.
|
||||
|
||||
run: `./windows-portable.sh`
|
||||
|
||||
Linux
|
||||
@ -46,16 +58,14 @@ Java tools in your `PATH`.
|
||||
|
||||
### Debian
|
||||
|
||||
#### Status: Works. Maintained.
|
||||
|
||||
Make sure you have a recent Java and jpackage.
|
||||
|
||||
#### Status: Works. Maintained.
|
||||
|
||||
run: `ant debian`
|
||||
|
||||
### Fedora
|
||||
|
||||
#### Status: Unknown. Maintained.
|
||||
|
||||
I'm a Debian user and don't have a Fedora machine set up right now. Therefore,
|
||||
I build Fedora packages in a container.
|
||||
|
||||
@ -63,14 +73,16 @@ Fedora doesn't have a jpackage in their repositories as far as I can tell so I u
|
||||
Adoptium's third-party repository to supply the JDK I use to build the fedora
|
||||
package.
|
||||
|
||||
#### Status: Unknown. Maintained.
|
||||
|
||||
run: `ant fedora`
|
||||
|
||||
### Portable(.zip)
|
||||
|
||||
#### Status: Works. Maintained.
|
||||
|
||||
Details are platform dependent. Same build-deps as everything else.
|
||||
|
||||
#### Status: Works. Maintained.
|
||||
|
||||
run: `ant jpackage`
|
||||
|
||||
OSX
|
||||
|
1062
RELEASES.html
Normal file
1062
RELEASES.html
Normal file
File diff suppressed because it is too large
Load Diff
12
RELEASES.md
Normal file
12
RELEASES.md
Normal file
@ -0,0 +1,12 @@
|
||||
Sums for release 0.0.30
|
||||
==============================
|
||||
|
||||
- [74c272422f1b1753ee02e0cc5bee22e74a740ac4c929343559377a265825586e i2pfirefox.jar](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pfirefox.jar)
|
||||
- [7e387b08f6871c5465a6d6c554afd175889dd9e1eabd5d33a7c62189f4db1c3c i2pfirefox.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pfirefox.zip)
|
||||
- [4befe1bbd83c4652ee7253c3a9c6023f8f3381c85a7565412e9d5136d03cac07 i2pbrowser.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser.zip)
|
||||
- [96c1fc9b8e9ed715737e7cfa58761d6ef981c15a0eb3c75c3ac0843ce995c604 i2pbrowser_0.0.30_.deb](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser_0.0.30_.deb)
|
||||
- [b8c45ded657ac2e8731364fbaa68029a71db86cf97d68ca318348eecd7fd61cf i2pbrowser-0.0.30_.rpm](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser-0.0.30_.rpm)
|
||||
- [d5848aa6d0be92a1e248c8e25a2396a720dfdd3bf68b73b77cd92163b6945fbf i2pbrowser.msi](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser.msi)
|
||||
- [54032b5cee012dab75dcdf4c935bd5528c0bee50ea0deb178ec43fc47125edf1 i2pbrowser.exe](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser.exe)
|
||||
- [4eb1ee90373bf983421ba6c568cdd2b1ca88f838d64540d071f98b9c597c3c09 i2pbrowser-portable.zip](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/0.0.30/i2pbrowser-portable.zip)
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
@ -317,7 +317,7 @@ Linux(because the top command will be run and the script will exit).\n\nBoth det
|
||||
<delete dir="plugin/eepsite/docroot/torrents/" />
|
||||
<!-- get version number -->
|
||||
<buildnumber file="scripts/build.number" />
|
||||
<property name="release.number" value="0.0.30" />
|
||||
<property name="release.number" value="0.0.31" />
|
||||
|
||||
<!-- make the update xpi2p -->
|
||||
<!-- this contains everything except i2ptunnel.config -->
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! /usr/bin/env sh
|
||||
export GITHUB_USER=eyedeekay
|
||||
export GITHUB_REPO=i2p.plugins.firefox
|
||||
export GITHUB_NAME="Add sha256sums to releases"
|
||||
export GITHUB_NAME="Destroy headless process if it goes too long"
|
||||
export GITHUB_DESCRIPTION=$(cat CHANGES.md)
|
||||
export GITHUB_TAG=0.0.30
|
||||
export GITHUB_TAG=0.0.31
|
@ -102,6 +102,11 @@
|
||||
PACKAGES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="RELEASES.html">
|
||||
RELEASES
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="TODO.html">
|
||||
TODO
|
||||
|
11
osx-dmg.sh
Executable file
11
osx-dmg.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#! /usr/bin/env sh
|
||||
. ./config.sh
|
||||
jpackage \
|
||||
--verbose \
|
||||
--type dmg \
|
||||
--license-file LICENSE.md \
|
||||
--name i2pbrowser \
|
||||
--app-version "$GITHUB_TAG" \
|
||||
--input src/build \
|
||||
--main-jar i2pfirefox.jar \
|
||||
--main-class net.i2p.i2pfirefox.I2PBrowser
|
61
packages.sh
Executable file
61
packages.sh
Executable file
@ -0,0 +1,61 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
. ./config.sh
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pfirefox.jar"
|
||||
echo "Downloaded jar"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pfirefox.zip"
|
||||
echo "Downloaded freestanding zip"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser.zip"
|
||||
echo "Downloaded jpackage zip"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser_${GITHUB_TAG}_.deb"
|
||||
echo "Downloaded debian package"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser-${GITHUB_TAG}_.rpm"
|
||||
echo "Downloaded fedora package"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser.msi"
|
||||
echo "Downloaded MSI package"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser.exe"
|
||||
echo "Downloaded EXE package"
|
||||
github-release download --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pbrowser-portable.zip"
|
||||
echo "Downloaded Windows ZIP package"
|
||||
|
||||
echo "Sums for release ${GITHUB_TAG}" | tee RELEASES.md
|
||||
echo "==============================" | tee -a RELEASES.md
|
||||
echo "" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pfirefox.jar)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pfirefox.jar)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pfirefox.zip)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pfirefox.zip)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser.zip)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.zip)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser_${GITHUB_TAG}_.deb)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser_${GITHUB_TAG}_.deb)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser-${GITHUB_TAG}_.rpm)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser-${GITHUB_TAG}_.rpm)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser.msi)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.msi)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser.exe)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser.exe)" | tee -a RELEASES.md
|
||||
echo "- [$(sha256sum i2pbrowser-portable.zip)](https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/${GITHUB_TAG}/i2pbrowser-portable.zip)" | tee -a RELEASES.md
|
||||
echo "" | tee -a RELEASES.md
|
||||
|
||||
git add RELEASES.md
|
||||
edgar
|
||||
git commit -am "Update releases page"
|
||||
git push --all
|
@ -19,11 +19,11 @@ github-release edit --user "${GITHUB_USER}" \
|
||||
--description "${GITHUB_DESCRIPTION}" \
|
||||
--tag "${GITHUB_TAG}"; true
|
||||
echo "Relase ${GITHUB_TAG} setup"
|
||||
jarsum=$(sha256sum "i2pfirefox.jar")
|
||||
jarsum=$(sha256sum "src/build/i2pfirefox.jar")
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--label "I2P Browser launcher as a .jar. ${jarsum}" \
|
||||
--label "I2P Browser launcher as a .jar. Useful as a library or for advanced users. ${jarsum}" \
|
||||
--name "i2pfirefox.jar" \
|
||||
--file "src/build/i2pfirefox.jar" \
|
||||
--replace
|
||||
|
@ -4,6 +4,7 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.Socket;
|
||||
import java.util.ArrayList;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* I2PFirefox.java
|
||||
@ -508,13 +509,15 @@ public class I2PFirefox extends I2PCommonBrowser {
|
||||
try {
|
||||
Process hp = hpb.start();
|
||||
try {
|
||||
int hev = hp.waitFor();
|
||||
boolean hev = hp.waitFor(20, TimeUnit.SECONDS);
|
||||
println("Headless browser run completed, exit: " + hev);
|
||||
if (!hev)
|
||||
hp.destroy();
|
||||
} catch (InterruptedException e) {
|
||||
println(e.toString());
|
||||
println("Headless browser error " + e.toString());
|
||||
}
|
||||
} catch (IOException e) {
|
||||
println(e.toString());
|
||||
println("Headless browser error " + e.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ github-release upload --user "${GITHUB_USER}" \
|
||||
--name "i2pbrowser.msi" \
|
||||
--file "i2pbrowser-${GITHUB_TAG}.msi" \
|
||||
--replace
|
||||
echo "Uploaded MSI package"
|
||||
exesum=$(sha256sum "i2pbrowser-${GITHUB_TAG}.exe")
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
@ -23,6 +24,7 @@ github-release upload --user "${GITHUB_USER}" \
|
||||
--name "i2pbrowser.exe" \
|
||||
--file "i2pbrowser-${GITHUB_TAG}.exe" \
|
||||
--replace
|
||||
echo "Uploaded EXE package"
|
||||
zipsum=$(sha256sum "i2pbrowser-portable-${GITHUB_TAG}.zip")
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
|
Reference in New Issue
Block a user