Change to official PortableApps directory structure

master
Benny Li 2015-05-27 09:55:53 +02:00
parent 6f99c58c4c
commit 90043a5a10
143 changed files with 184 additions and 49 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
*.7z
Documents
ownCloudPortable
*.log

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -0,0 +1,27 @@
[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/

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

BIN
App/AppInfo/appicon_16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

BIN
App/AppInfo/appicon_32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

26
App/AppInfo/appinfo.ini Normal file
View File

@ -0,0 +1,26 @@
[Format]
Type=PortableApps.comFormat
Version=3.0
[Details]
Name=ownCloud Portable
AppID=ownCloudPortable
Publisher=ownCloud's Team, DylanTheSoldier, & PortableApps.com
Homepage=http://portableapps.com/node/37132
Category=Internet
Description=ownCloud's Open-Source Client Software.
Language=Multilingual
[License]
Shareable=true
OpenSource=true
Freeware=false
CommercialUse=true
[Version]
PackageVersion=1.8.0.4893
DisplayVersion=1.8
[Control]
Icons=1
Start=ownCloudPortable.exe

View File

@ -0,0 +1,2 @@
[DirectoriesToPreserve]
PreserveDirectory1=Data

View File

@ -0,0 +1,9 @@
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

3
App/Readme.txt Normal file
View File

@ -0,0 +1,3 @@
The files in this directory are necessary for the portable application to
function. There is normally no need to directly access or alter any of the
files within these directories.

Binary file not shown.

View File

@ -0,0 +1,27 @@

[lang]
lang =
[files]
bat =
exe =
[opt]
ivi = 0
dir = 0
tmp = 0
enc = 0
pwd =
man = 0
owr = 0
cmp = 0
x64 = 0
[inc]
ico =
[inf]
ver = 0
vr1 = 1,0,0,0
vr2 = 1,0,0,0
vr3 =
vr4 =
vr5 =
vr6 =
vr7 =

Binary file not shown.

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 start.bat %passwd%
wscript.exe hidden.vbs ownCloudPortableEncryptionHelper.exe %passwd% %1

39
App/encryption/start.bat Normal file
View File

@ -0,0 +1,39 @@
::@echo off
set CONFIG_ARCHIV="..\..\Data\config.7z"
set DATA_ARCHIV="ownCloudData.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 PAPPS_DOCUMENTS_DIR=%2
set RUNTIME_OWNCLOUD_DATA_DIR=%PAPPS_DOCUMENTS_DIR%ownCloud
set LOG_FILE="..\..\Data\ownCloudPortableEncryption.log"
echo This is the ownCloudPortable 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%
%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%
del /s /f /q %PAPPS_DOCUMENTS_DIR%%DATA_ARCHIV%
)
echo Starting ownCloud client. >> %LOG_FILE%
START /WAIT ..\ownCloud\ownCloud.exe >> %LOG_FILE%
echo Encrypting ownCloud 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%
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%
:exit

View File

@ -0,0 +1,5 @@
LICENSE
=======
This is an installer created using CPack (http://www.cmake.org). No license provided.

BIN
App/ownCloud/Qt5Core.dll Normal file

Binary file not shown.

BIN
App/ownCloud/Qt5Gui.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/ownCloud/Qt5Network.dll Normal file

Binary file not shown.

BIN
App/ownCloud/Qt5OpenGL.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
App/ownCloud/Qt5Qml.dll Normal file

Binary file not shown.

BIN
App/ownCloud/Qt5Quick.dll Normal file

Binary file not shown.

BIN
App/ownCloud/Qt5Sensors.dll Normal file

Binary file not shown.

BIN
App/ownCloud/Qt5Sql.dll Normal file

Binary file not shown.

BIN
App/ownCloud/Qt5WebKit.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
App/ownCloud/Qt5Widgets.dll Normal file

Binary file not shown.

BIN
App/ownCloud/Qt5Xml.dll Normal file

Binary file not shown.

BIN
App/ownCloud/client_TW.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_ca.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_cs.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_de.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_el.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_en.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_es.qm Normal file

Binary file not shown.

Binary file not shown.

BIN
App/ownCloud/client_et.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_eu.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_fa.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_fi.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_fr.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_gl.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_hu.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_it.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_ja.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_nl.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_pl.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_pt.qm Normal file

Binary file not shown.

Binary file not shown.

BIN
App/ownCloud/client_ru.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_sk.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_sl.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_sv.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_th.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_tr.qm Normal file

Binary file not shown.

BIN
App/ownCloud/client_uk.qm Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/ownCloud/icudata53.dll Normal file

Binary file not shown.

BIN
App/ownCloud/icui18n53.dll Normal file

Binary file not shown.

BIN
App/ownCloud/icuuc53.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/ownCloud/libEGL.dll Normal file

Binary file not shown.

BIN
App/ownCloud/libGLESv2.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

BIN
App/ownCloud/libocsync.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/ownCloud/libssl-10.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
App/ownCloud/libwebp-4.dll Normal file

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

BIN
App/ownCloud/owncloud.exe Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
App/ownCloud/qt_ar.qm Normal file

Binary file not shown.

BIN
App/ownCloud/qt_ca.qm Normal file

Binary file not shown.

BIN
App/ownCloud/qt_cs.qm Normal file

Binary file not shown.

BIN
App/ownCloud/qt_da.qm Normal file

Binary file not shown.

BIN
App/ownCloud/qt_de.qm Normal file

Binary file not shown.

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