parent
4036c4d54b
commit
8992dcb0aa
|
@ -0,0 +1,27 @@
|
|||
[Launch]
|
||||
ProgramExecutable=encryption\start-hidden.bat
|
||||
DirectoryMoveOK=True
|
||||
CommandLineArguments="%PAL:Drive%\Documents\"
|
||||
WorkingDirectory=%PAL:AppDir%\encryption
|
||||
WaitForEXE1=nextcloudPortableEncryptionHelper.exe
|
||||
|
||||
[Activate]
|
||||
Registry=True
|
||||
|
||||
[RegistryKeys]
|
||||
nextcloudPortable=HKLM\SOFTWARE\Nextcloud GmbH\Nextcloud
|
||||
|
||||
[DirectoriesMove]
|
||||
AppData=%USERPROFILE%\AppData\Local\Nextcloud
|
||||
ProgramFiles=%ProgramFiles%\Nextcloud
|
||||
-=%USERPROFILE%\Nextcloud
|
||||
|
||||
[DirectoriesCleanupIfEmpty]
|
||||
1=%USERPROFILE%\Nextcloud
|
||||
|
||||
[FileWrite1]
|
||||
Type=INI
|
||||
File=%PAL:DataDir%\AppData\folders\nextcloud
|
||||
Section=nextcloud
|
||||
Key=localPath
|
||||
Value=%PAL:Drive%/Documents/nextcloud/
|
|
@ -1,27 +0,0 @@
|
|||
[Launch]
|
||||
ProgramExecutable=encryption\start-hidden.bat
|
||||
DirectoryMoveOK=True
|
||||
CommandLineArguments="%PAL:Drive%\Documents\"
|
||||
WorkingDirectory=%PAL:AppDir%\encryption
|
||||
WaitForEXE1=ownCloudPortableEncryptionHelper.exe
|
||||
|
||||
[Activate]
|
||||
Registry=True
|
||||
|
||||
[RegistryKeys]
|
||||
ownCloudPortable=HKLM\SOFTWARE\ownCloud
|
||||
|
||||
[DirectoriesMove]
|
||||
AppData=%USERPROFILE%\AppData\Local\ownCloud
|
||||
ProgramFiles=%ProgramFiles%\ownCloud
|
||||
-=%USERPROFILE%\ownCloud
|
||||
|
||||
[DirectoriesCleanupIfEmpty]
|
||||
1=%USERPROFILE%\ownCloud
|
||||
|
||||
[FileWrite1]
|
||||
Type=INI
|
||||
File=%PAL:DataDir%\AppData\folders\ownCloud
|
||||
Section=ownCloud
|
||||
Key=localPath
|
||||
Value=%PAL:Drive%/Documents/ownCloud/
|
Binary file not shown.
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
@ -1,14 +1,14 @@
|
|||
[Format]
|
||||
Type=PortableApps.comFormat
|
||||
Version=3.0
|
||||
Version=3.5
|
||||
|
||||
[Details]
|
||||
Name=ownCloud Portable
|
||||
AppID=ownCloudPortable
|
||||
Publisher=ownCloud's Team, DylanTheSoldier, & PortableApps.com
|
||||
Homepage=http://portableapps.com/node/37132
|
||||
Name=nextcloud Portable
|
||||
AppID=nextcloudPortable
|
||||
Publisher=Sheychen
|
||||
Homepage=https://wadza.fr
|
||||
Category=Internet
|
||||
Description=ownCloud's Open-Source Client Software.
|
||||
Description=nextcloud Client
|
||||
Language=Multilingual
|
||||
|
||||
[License]
|
||||
|
@ -18,9 +18,9 @@ Freeware=false
|
|||
CommercialUse=true
|
||||
|
||||
[Version]
|
||||
PackageVersion=1.8.0.4893
|
||||
DisplayVersion=1.8
|
||||
PackageVersion=2.3.1.8
|
||||
DisplayVersion=2.3
|
||||
|
||||
[Control]
|
||||
Icons=1
|
||||
Start=ownCloudPortable.exe
|
||||
Start=nextcloudPortable.exe
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Nextcloud GmbH\Nextcloud]
|
||||
@="C:\\Program Files\\\Nextcloud"
|
||||
"VersionMajor"=dword:00000002
|
||||
"VersionMinor"=dword:00000003
|
||||
"VersionRevision"=dword:00000001
|
||||
"VersionBuild"=dword:00000008
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\ownCloud]
|
||||
@="C:\\Program Files\\ownCloud"
|
||||
"VersionMajor"=dword:00000001
|
||||
"VersionMinor"=dword:00000002
|
||||
"VersionRevision"=dword:00000000
|
||||
"VersionBuild"=dword:00000005
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -3,7 +3,7 @@
|
|||
License for use and distribution
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Copyright (C) 1999-2015 Igor Pavlov.
|
||||
Copyright (C) 1999-2016 Igor Pavlov.
|
||||
|
||||
7-Zip Extra files are under the GNU LGPL license.
|
||||
|
||||
|
|
BIN
App/encryption/ownCloudPortableEncryptionHelper.exe → App/encryption/nextcloudPortableEncryptionHelper.exe
Normal file → Executable file
BIN
App/encryption/ownCloudPortableEncryptionHelper.exe → App/encryption/nextcloudPortableEncryptionHelper.exe
Normal file → Executable file
Binary file not shown.
|
@ -3,4 +3,4 @@
|
|||
:: Get the password
|
||||
powershell -Command $pword = read-host "Enter password" -AsSecureString ; $BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword) ; [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR) > .tmp.txt & set /p passwd=<.tmp.txt & del .tmp.txt
|
||||
|
||||
wscript.exe hidden.vbs ownCloudPortableEncryptionHelper.exe %passwd% %1
|
||||
wscript.exe hidden.vbs nextcloudPortableEncryptionHelper.exe %passwd% %1
|
|
@ -1,39 +1,40 @@
|
|||
::@echo off
|
||||
set CONFIG_ARCHIV="..\..\Data\config.7z"
|
||||
set DATA_ARCHIV="ownCloudData.7z"
|
||||
set DATA_ARCHIV="nextcloudData.7z"
|
||||
:: [ 0 | 1 | 3 | 5 | 7 | 9 ]
|
||||
set COMPRESSION=0
|
||||
set SEVENEXE="libs\7-Zip\7za.exe"
|
||||
set PASSWD=%1
|
||||
set RUNTIME_CONFIG_DIR=%USERPROFILE%\AppData\Local\ownCloud
|
||||
set RUNTIME_CONFIG_DIR=%USERPROFILE%\AppData\Local\nextcloud
|
||||
set PAPPS_DOCUMENTS_DIR=%2
|
||||
set RUNTIME_OWNCLOUD_DATA_DIR=%PAPPS_DOCUMENTS_DIR%ownCloud
|
||||
set LOG_FILE="..\..\Data\ownCloudPortableEncryption.log"
|
||||
set RUNTIME_OWNCLOUD_DATA_DIR=%PAPPS_DOCUMENTS_DIR%nextcloud
|
||||
set RUNTIME_NEXTCLOUD_DATA_DIR=%PAPPS_DOCUMENTS_DIR%nextcloud
|
||||
set LOG_FILE="..\..\Data\nextcloudPortableEncryption.log"
|
||||
|
||||
echo This is the ownCloudPortable encryption starter script! > %LOG_FILE%
|
||||
echo This is the nextcloudPortable encryption starter script! > %LOG_FILE%
|
||||
echo Configuration: >> %LOG_FILE%
|
||||
echo \t CONFIG_ARCHIV = %CONFIG_ARCHIV% >> %LOG_FILE%
|
||||
echo \t DATA_ARCHIV = %PAPPS_DOCUMENTS_DIR%%DATA_ARCHIV% >> %LOG_FILE%
|
||||
|
||||
if exist %CONFIG_ARCHIV% (
|
||||
echo Extracting portable ownCloud client config and data... >> %LOG_FILE%
|
||||
echo Extracting portable nextcloud client config and data... >> %LOG_FILE%
|
||||
%SEVENEXE% x %CONFIG_ARCHIV% -o%RUNTIME_CONFIG_DIR% -p%PASSWD% -y >> %LOG_FILE%
|
||||
%SEVENEXE% x %PAPPS_DOCUMENTS_DIR%%DATA_ARCHIV% -o%RUNTIME_OWNCLOUD_DATA_DIR% -r -p%PASSWD% -y >> %LOG_FILE%
|
||||
%SEVENEXE% x %PAPPS_DOCUMENTS_DIR%%DATA_ARCHIV% -o%RUNTIME_NEXTCLOUD_DATA_DIR% -r -p%PASSWD% -y >> %LOG_FILE%
|
||||
del /s /f /q %PAPPS_DOCUMENTS_DIR%%DATA_ARCHIV%
|
||||
)
|
||||
|
||||
echo Starting ownCloud client. >> %LOG_FILE%
|
||||
START /WAIT ..\ownCloud\ownCloud.exe >> %LOG_FILE%
|
||||
echo Starting nextcloud client. >> %LOG_FILE%
|
||||
START /WAIT ..\nextcloud\nextcloud.exe >> %LOG_FILE%
|
||||
|
||||
echo Encrypting ownCloud client config and data... >> %LOG_FILE%
|
||||
echo Encrypting nextcloud client config and data... >> %LOG_FILE%
|
||||
:: Explanation:
|
||||
:: -mhe to encrypt headers so nobody can browse the archive
|
||||
:: -mx0 to not compress the archiv (only for performance)
|
||||
%SEVENEXE% u %CONFIG_ARCHIV% %RUNTIME_CONFIG_DIR%\owncloud.cfg -mx%COMPRESSION% -mhe -p%PASSWD% -y >> %LOG_FILE%
|
||||
%SEVENEXE% a %PAPPS_DOCUMENTS_DIR%%DATA_ARCHIV% %RUNTIME_OWNCLOUD_DATA_DIR%\* -mx%COMPRESSION% -mhe -p%PASSWD% -y >> %LOG_FILE%
|
||||
%SEVENEXE% u %CONFIG_ARCHIV% %RUNTIME_CONFIG_DIR%\nextcloud.cfg -mx%COMPRESSION% -mhe -p%PASSWD% -y >> %LOG_FILE%
|
||||
%SEVENEXE% a %PAPPS_DOCUMENTS_DIR%%DATA_ARCHIV% %RUNTIME_NEXTCLOUD_DATA_DIR%\* -mx%COMPRESSION% -mhe -p%PASSWD% -y >> %LOG_FILE%
|
||||
|
||||
echo Securely removing data from this computer... >> %LOG_FILE%
|
||||
del /s /f /q %RUNTIME_OWNCLOUD_DATA_DIR% & rd /s /q %RUNTIME_OWNCLOUD_DATA_DIR% >> %LOG_FILE%
|
||||
del /s /f /q %RUNTIME_CONFIG_DIR%\owncloud.cfg >> %LOG_FILE%
|
||||
del /s /f /q %RUNTIME_NEXTCLOUD_DATA_DIR% & rd /s /q %RUNTIME_NEXTCLOUD_DATA_DIR% >> %LOG_FILE%
|
||||
del /s /f /q %RUNTIME_CONFIG_DIR%\nextcloud.cfg >> %LOG_FILE%
|
||||
|
||||
:exit
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
[Paths]
|
||||
Prefix = .
|
||||
Plugins = .
|
||||
Binaries = .
|
||||
Imports = .
|
||||
Qml2Imports = .
|
||||
LibraryExecutables = .
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue