bunch of cool flatpak revisions
This commit is contained in:
6
flatpak-daemon.sh
Executable file
6
flatpak-daemon.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#! /usr/bin/env sh
|
||||||
|
export TOR_MANAGER_CLEARNET_MIRROR=true
|
||||||
|
export TOR_MANAGER_REQUIRE_PASSWORD=false
|
||||||
|
export TOR_MANAGER_NEVER_USE_TOR=true
|
||||||
|
nohup /app/bin/i2p.plugins.tor-manager -nevertor -p2p=false -directory ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager 2> ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager/tor-manager.err.log 1> ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager/tor-manager.err.log &
|
||||||
|
/app/bin/i2p.plugins.tor-manager -nevertor -p2p=false -i2pconfig -directory ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
@ -1,2 +1,2 @@
|
|||||||
#! /usr/bin/env sh
|
#! /usr/bin/env sh
|
||||||
TOR_MANAGER_CLEARNET_MIRROR=true TOR_MANAGER_REQUIRE_PASSWORD=false TOR_MANAGER_NEVER_USE_TOR=true /app/bin/i2p.plugins.tor-manager -p2p=false -torbrowser -directory ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
TOR_MANAGER_CLEARNET_MIRROR=true TOR_MANAGER_REQUIRE_PASSWORD=false /app/bin/i2p.plugins.tor-manager -p2p=false -torbrowser -directory ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
@ -3,7 +3,7 @@ runtime: org.kde.Platform
|
|||||||
runtime-version: 5.15-21.08
|
runtime-version: 5.15-21.08
|
||||||
sdk: org.kde.Sdk
|
sdk: org.kde.Sdk
|
||||||
separate-locales: false
|
separate-locales: false
|
||||||
command: i2p.plugins.tor-manager.sh
|
command: i2p.plugins.tor-manager-daemon.sh
|
||||||
finish-args:
|
finish-args:
|
||||||
- --share=ipc
|
- --share=ipc
|
||||||
- --share=network
|
- --share=network
|
||||||
@ -39,6 +39,7 @@ modules:
|
|||||||
- install -D -m755 flatpak.sh /app/bin/i2p.plugins.tor-manager.sh
|
- install -D -m755 flatpak.sh /app/bin/i2p.plugins.tor-manager.sh
|
||||||
- install -D flatpak.desktop /app/share/applications/org.i2pgit.idk.i2p.plugins.tor-manager.desktop
|
- install -D flatpak.desktop /app/share/applications/org.i2pgit.idk.i2p.plugins.tor-manager.desktop
|
||||||
- install -D -m755 flatpak-tbb.sh /app/bin/i2p.plugins.tor-manager-tbb.sh
|
- install -D -m755 flatpak-tbb.sh /app/bin/i2p.plugins.tor-manager-tbb.sh
|
||||||
|
- install -D -m755 flatpak-daemon.sh /app/bin/i2p.plugins.tor-manager-daemon.sh
|
||||||
- install -D flatpak-tbb.desktop /app/share/applications/org.i2pgit.idk.i2p.plugins.tor-manager-tbb.desktop
|
- install -D flatpak-tbb.desktop /app/share/applications/org.i2pgit.idk.i2p.plugins.tor-manager-tbb.desktop
|
||||||
- install -D garliconion.png /app/share/icons/hicolor/128x128/apps/org.i2pgit.idk.i2p.plugins.tor-manager.png
|
- install -D garliconion.png /app/share/icons/hicolor/128x128/apps/org.i2pgit.idk.i2p.plugins.tor-manager.png
|
||||||
- install -D LICENSE /var/lib/i2pbrowser/LICENSE
|
- install -D LICENSE /var/lib/i2pbrowser/LICENSE
|
||||||
@ -49,6 +50,12 @@ modules:
|
|||||||
path: flatpak.sh
|
path: flatpak.sh
|
||||||
- type: file
|
- type: file
|
||||||
path: flatpak.desktop
|
path: flatpak.desktop
|
||||||
|
- type: file
|
||||||
|
path: flatpak-tbb.sh
|
||||||
|
- type: file
|
||||||
|
path: flatpak-tbb.desktop
|
||||||
|
- type: file
|
||||||
|
path: flatpak-daemon.sh
|
||||||
- type: file
|
- type: file
|
||||||
path: garliconion.png
|
path: garliconion.png
|
||||||
- type: file
|
- type: file
|
||||||
|
@ -505,10 +505,6 @@ func (s *Supervisor) RunSpecificTBBWithOfflineClearnetProfile(profiledata, torbr
|
|||||||
defaultpage = profiledata + "/index.html"
|
defaultpage = profiledata + "/index.html"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(s.PTAS()) > 0 {
|
|
||||||
defaultpage = s.PTAS()[0]
|
|
||||||
}
|
|
||||||
if editor {
|
if editor {
|
||||||
defaultpage = "http://127.0.0.1:7685"
|
defaultpage = "http://127.0.0.1:7685"
|
||||||
clearnet := true
|
clearnet := true
|
||||||
@ -534,6 +530,10 @@ func (s *Supervisor) RunSpecificTBBWithOfflineClearnetProfile(profiledata, torbr
|
|||||||
s.UnpackPath = UNPACK_URL()
|
s.UnpackPath = UNPACK_URL()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return s.RunSpecificTBBWithOfflineClearnetProfileAndPage(profiledata, torbrowserdata, offline, clearnet, defaultpage)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (s *Supervisor) RunSpecificTBBWithOfflineClearnetProfileAndPage(profiledata, torbrowserdata string, offline, clearnet bool, defaultpage string) error {
|
||||||
tbget.ARCH = ARCH()
|
tbget.ARCH = ARCH()
|
||||||
if s.Lang == "" {
|
if s.Lang == "" {
|
||||||
s.Lang = DEFAULT_TB_LANG
|
s.Lang = DEFAULT_TB_LANG
|
||||||
|
Reference in New Issue
Block a user