Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
dfb8bfb347 | |||
51a2416d26 | |||
b08743d09b | |||
64e4183c41 | |||
b9591ef84c | |||
f829e9cdf1 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
log
|
||||
src/i2p.firefox.base.profile.zip
|
||||
src/i2p.firefox.base.profile.zip
|
||||
*.su3
|
||||
*.xpi2p
|
||||
*.zip
|
@ -28,7 +28,7 @@
|
||||
<delete dir="plugin/eepsite/docroot/torrents/" />
|
||||
<!-- get version number -->
|
||||
<buildnumber file="scripts/build.number" />
|
||||
<property name="release.number" value="0.0.1" />
|
||||
<property name="release.number" value="0.0.2" />
|
||||
|
||||
<!-- make the update xpi2p -->
|
||||
<!-- this contains everything except i2ptunnel.config -->
|
||||
|
3
i2pbrowser.cmd
Executable file
3
i2pbrowser.cmd
Executable file
@ -0,0 +1,3 @@
|
||||
:; java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox; exit $?
|
||||
@ECHO OFF
|
||||
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox
|
30
release.sh
Executable file
30
release.sh
Executable file
@ -0,0 +1,30 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
GITHUB_USER=eyedeekay
|
||||
GITHUB_REPO=i2p.plugins.firefox
|
||||
GITHUB_NAME="Initial Release"
|
||||
GITHUB_DESCRIPTION=$(cat README.md)
|
||||
GITHUB_TAG=0.0.2
|
||||
ant distclean
|
||||
cd src && \
|
||||
ant
|
||||
github-release release --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--name "${GITHUB_NAME}" \
|
||||
--description "${GITHUB_DESCRIPTION}" \
|
||||
--tag "${GITHUB_TAG}"
|
||||
sleep 2s
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pfirefox.jar" \
|
||||
--file "build/i2pfirefox.jar" \
|
||||
--replace
|
||||
cd ../
|
||||
zip -r i2pfirefox.zip src/build/i2pfirefox.jar i2pbrowser.cmd LICENSE.md README.md
|
||||
github-release upload --user "${GITHUB_USER}" \
|
||||
--repo "${GITHUB_REPO}" \
|
||||
--tag "${GITHUB_TAG}" \
|
||||
--name "i2pfirefox.zip" \
|
||||
--file "i2pfirefox.zip" \
|
||||
--replace
|
@ -1,3 +1,3 @@
|
||||
#Build Number for ANT. Do not edit!
|
||||
#Sun Aug 07 19:34:07 EDT 2022
|
||||
build.number=84
|
||||
#Sun Aug 07 20:17:38 EDT 2022
|
||||
build.number=85
|
||||
|
@ -2,10 +2,8 @@ package net.i2p.i2pfirefox;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
import java.net.URL;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.StandardCopyOption;
|
||||
import java.util.Enumeration;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipInputStream;
|
||||
|
||||
@ -20,6 +18,12 @@ public class I2PFirefoxProfileUnpacker {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* unpack the profile directory
|
||||
*
|
||||
* @return true if the profile directory was successfully unpacked
|
||||
* @since 0.0.1
|
||||
*/
|
||||
public boolean unpackProfile(String profileDirectory) {
|
||||
System.out.println("Unpacking base profile to " + profileDirectory);
|
||||
try {
|
||||
|
Reference in New Issue
Block a user