[ADD] First commit

This commit is contained in:
2022-11-27 20:23:05 +01:00
commit 439311d5ce
7 changed files with 427 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDcjCCAlqgAwIBAgIURVXPxPJc+5wwJHMn3ZSZhKT9yiswDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCRlIxFTATBgNVBAMMDHdhcHQtcHJpdmF0ZTEfMB0GCSqG
SIb3DQEJAQwQa0BrZ3VlcmluZWF1Lm5ldDAeFw0xODAyMDUyMDE2MDVaFw0yODAy
MDMyMDE2MDVaMEUxCzAJBgNVBAYTAkZSMRUwEwYDVQQDDAx3YXB0LXByaXZhdGUx
HzAdBgkqhkiG9w0BCQEMEGtAa2d1ZXJpbmVhdS5uZXQwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQCq+wjcG1sF55Lrq2lofobjNFmglnNsdqldjEeAt14F
Cp0bp4MiOmq4XaUvCjQjfmBBlJXSe3gDtS/apiiJhkLzzucrIZtRjgAHmCl72+4z
Z5xUPN7d18NkpNiH4DJzy/caTnhlUrsD81tdjp4LBoBX1Lwxx1f7w90MnqVahc4i
ZhjTliNHMyIpKgcUvBgC94zyry3jRtwsShQI7TnDww2qENLbFv1zqTkJrp0SpOH6
Dd2EX/smgpySYWvMdqfj95X5xHjN3EsVDgYS6Zw1calmE+g8MG1F/ltNBJ9yhxRG
/kenQh94ipGMlbrYCgYTOmRqdAmjvsCBJIEZAgrAe16vAgMBAAGjWjBYMA8GA1Ud
EwEB/wQFMAMBAf8wFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwMwHQYDVR0OBBYEFHtr
o3JE+URzfGQFEt1UN4OFDo45MA4GA1UdDwEB/wQEAwIB1jANBgkqhkiG9w0BAQsF
AAOCAQEAje6hLpWZH6dDEUVKy8T7pHIn20758Po4cHVXxHPZxGm9qBVJuTzf0s/b
zBhy+uOjTTdjKiMhGbb7OK0/hpd3lrs0PrWH4SrPh4LoAO4ztrrdPOc6ARBTxjz8
rON9mnzRuMO7oFPPDUQ2Kz7Xli3BaVGIm3ACt6X+3mhU3bN0CP6EZGbLKX1HNcyu
sHDmAy07YWsC4D6lieRAFcVEIgDNnHsgqoaCrmihppCmar0aXKdckM6qSoXbd+Je
KR0jVu+YlVa+WKdZAXwfIlJcU/bcM4wjXHoYUvptpoHBmhaL1kMi1M/RN7sI5j6E
hGPm70oC6oIOqNxABgsvp8A0CQFRbw==
-----END CERTIFICATE-----
+44
View File
@@ -0,0 +1,44 @@
package : kg-qownnotes
version : 22.11.5-0
architecture : all
section : base
priority : optional
name : QOwnNotes
categories : Office
maintainer : Kevin GUERINEAU
description : Plain-text file notepad with markdown support and NextCloud and ownCloud integration
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 1.5
sources :
installed_size : 85870884
impacted_process : qownnotes.exe
description_fr : Bloc-notes de fichier en texte brut avec prise en charge du demarquage et de integration NextCloud et ownCloud
description_pl : Notatnik zwykłych plików tekstowych ze wsparciem dla integracji i unbrandingu NextCloud i ownCloud
description_de : Notizblock für reine Textdateien mit Unterstützung für NextCloud- und ownCloud-Integration und -Starts
description_es : Bloc de notas de archivos de texto plano con soporte para la integración y desmarque de NextCloud y ownCloud
description_pt : Bloco de notas de texto simples com suporte para NextCloud e integração e desmarcação própriaCloud
description_it : Blocco note per file di testo con supporto per l'integrazione e lo smontaggio di NextCloud e ownCloud
description_nl : Notitieblok voor gewone tekstbestanden met ondersteuning voor NextCloud- en ownCloud-integratie en unbranding
description_ru : Блокнот для обычных текстовых файлов с поддержкой интеграции и разгруппировки NextCloud и ownCloud
audit_schedule :
editor : Patrizio Bekerle
keywords :
licence : GNU/GPL
homepage : https://www.qownnotes.org
package_uuid :
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 6.1
max_os_version :
icon_sha256sum :
signer :
signer_fingerprint:
signature_date :
signed_attributes :
signature :
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

File diff suppressed because one or more lines are too long
+5
View File
@@ -0,0 +1,5 @@
gHr0yIDQtUyF3St7ODkhwzcvl3xJ/TvO2bFls+1Zr+2oocDox+vZtE/clHagA/9Jttt0g9VK3aPv
t2RZOJprpXub8sqzXzIYO9kt3zq+QAEkODQ5CygvsrjXR2ORGvaIB2gtGXlRSxenFSqbXwCh9BMY
FMwqwFlpr/gIscZbhJbvSo7WOuW/6CBR6YnZ5fM8Unv5D4AKQ8L7CRnQAG3B0/yEMbYuE2FIPtFM
dvXCd4AEEGIp7Iv5YHWZz6bqxeTiE/Mn7AA0xqGs3iTysSib9O7zD/rsv+MZeqi8YudEMGNbJ+UN
6XR5dmxUXSd9oKUnNNJYrq/vLUDQnjk95E+/mw==
+295
View File
@@ -0,0 +1,295 @@
[PyScripter]
Version=3.3.2.0
[Project]
ClassName=TProjectRootNode
StoreRelativePaths=TRUE
ShowFileExtensions=FALSE
[Project\ChildNodes\Node0]
ClassName=TProjectFilesNode
[Project\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFolderNode
Name=wapt
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\common.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\setuphelpers.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.ini
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node4]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\waptpackage.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes]
Count=5
[Project\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=$[Project-Path]changelog.txt
[Project\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=$[Project-Path]control
[Project\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=$[Project-Path]..\setup.py
[Project\ChildNodes\Node0\ChildNodes]
Count=4
[Project\ChildNodes\Node1]
ClassName=TProjectRunConfiguationsNode
[Project\ChildNodes\Node1\ChildNodes\Node0]
ClassName=TProjectRunConfiguationNode
Name=install
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=install "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node1]
ClassName=TProjectRunConfiguationNode
Name=remove
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=remove "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node2]
ClassName=TProjectRunConfiguationNode
Name=session-setup
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=session-setup "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node3]
ClassName=TProjectRunConfiguationNode
Name=update
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node4]
ClassName=TProjectRunConfiguationNode
Name=upgrade
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-f upgrade
WorkingDir=$[ActiveScript-Dir]
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node5]
ClassName=TProjectRunConfiguationNode
Name=-i build-upload
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-i build-upload "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node6]
ClassName=TProjectRunConfiguationNode
Name=svn update
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node7]
ClassName=TProjectRunConfiguationNode
Name=uninstall
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=uninstall "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[Project-Path]..
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node8]
ClassName=TProjectRunConfiguationNode
Name=update-package-sources
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update-package-sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node9]
ClassName=TProjectRunConfiguationNode
Name=audit
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=audit "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes]
Count=10
[Project\ChildNodes]
Count=2
[Project\ExtraPythonPath]
Count=0
+61
View File
@@ -0,0 +1,61 @@
# -*- coding: utf-8 -*-
from setuphelpers import *
import zipfile
uninstallkey = []
qownnotes_path = makepath(programfiles32,'QOwnNotes')
def install():
print('installing %s' % control.asrequirement())
mkdirs(qownnotes_path)
with zipfile.ZipFile('QOwnNotes.zip', 'r') as zip_ref:
zip_ref.extractall(qownnotes_path)
create_desktop_shortcut('QOwnNotes',qownnotes_path + '\QOwnNotes.exe')
def uninstall():
print('uninstalling %s' % control.asrequirement())
remove_desktop_shortcut('QOwnNotes')
remove_tree(qownnotes_path)
def update_package():
import json
pe = PackageEntry()
pe.load_control_from_wapt(os.getcwd())
package_version = pe.version.split('-')[0]
proxies = {}
if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxies = {'http':proxywapt,'https':proxywapt}
filename,url = [(str(p['name']),str(p['browser_download_url'])) for p in json.loads(wgets('https://api.github.com/repos/pbek/QOwnNotes/releases/latest',proxies=proxies))['assets'] if 'QOwnNotes.zip' in p['name']][0]
last_version = json.loads(wgets('https://api.github.com/repos/pbek/QOwnNotes/releases/latest',proxies=proxies))['tag_name'][1:]
if Version(last_version) > Version(package_version):
for fileexe in glob.glob('qownnotes.zip'):
if fileexe != filename :
print('Delete ' + fileexe)
remove_file(fileexe)
if not isfile(filename):
print('Download ' + url)
wget(url,filename,proxies=proxies)
else:
print('Skip - %s already exist' % filename)
package_name = pe.package
pe.version = last_version + '-0'
pe.save_control_to_wapt(os.getcwd())
print('Update package content from upstream binary sources.')
else:
print ('This package is already in the latest version.')