Move to Nextcloud

master v0.1
sheychen 2017-06-29 16:40:39 +02:00
parent 4036c4d54b
commit 8992dcb0aa
231 changed files with 95 additions and 80 deletions

View File

@ -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/

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.

BIN
App/encryption/libs/7-Zip/7za.exe Normal file → Executable file

Binary file not shown.

Binary file not shown.

View File

@ -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.

View File

View File

2
App/encryption/start-hidden.bat Normal file → Executable file
View File

@ -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

29
App/encryption/start.bat Normal file → Executable file
View File

@ -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

BIN
App/nextcloud/Qt5Core.dll Normal file

Binary file not shown.

BIN
App/nextcloud/Qt5Gui.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/Qt5Qml.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/Qt5Sql.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/Qt5Xml.dll Normal file

Binary file not shown.

BIN
App/nextcloud/client_ca.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_cs.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_de.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_el.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_es.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_et.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_eu.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_fi.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_fr.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_gl.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_hu.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_it.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_ja.qm Normal file

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/client_nl.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_pl.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_pt.qm Normal file

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/client_ru.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_sk.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_sl.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_sr.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_sv.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_th.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_tr.qm Normal file

Binary file not shown.

BIN
App/nextcloud/client_uk.qm Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/icui18n56.dll Normal file

Binary file not shown.

BIN
App/nextcloud/icuuc56.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/libEGL.dll Normal file

Binary file not shown.

BIN
App/nextcloud/libGLESv2.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/libintl-8.dll Normal file

Binary file not shown.

BIN
App/nextcloud/libjpeg-8.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/libocsync.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/libssl-10.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/libwebp-5.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/libxml2-2.dll Normal file

Binary file not shown.

BIN
App/nextcloud/libxslt-1.dll Normal file

Binary file not shown.

BIN
App/nextcloud/nextcloud.exe Executable file

Binary file not shown.

Binary file not shown.

BIN
App/nextcloud/nextcloudcmd.exe Executable file

Binary file not shown.

Binary file not shown.

7
App/nextcloud/qt.conf Normal file
View File

@ -0,0 +1,7 @@
[Paths]
Prefix = .
Plugins = .
Binaries = .
Imports = .
Qml2Imports = .
LibraryExecutables = .

Some files were not shown because too many files have changed in this diff Show More